]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Add erase support.
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Thu, 10 Jan 2019 16:08:14 +0000 (11:08 -0500)
committerLiam R. Howlett <Liam.Howlett@Oracle.com>
Wed, 31 Jul 2019 14:52:35 +0000 (10:52 -0400)
commitf87bbf608dce19235c5edebabaffe1872420d83e
tree815d1605681f768ad48f19e047e128f241a1c847
parent8322d74ba009d87de0617d1dc6fbd6f1945c4109
maple_tree: Add erase support.

Refactor replacing a node in a tree to its own function and use that
with the erase and insert functions.

Erase NULLs the range in which the index resides and coalesces adjacent
NULLs if allocation succeeds.

Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
lib/maple_tree.c
lib/test_maple_tree.c