]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Change ma_coalesce to return the number of slots removed.
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Thu, 10 Jan 2019 19:05:43 +0000 (14:05 -0500)
committerLiam R. Howlett <Liam.Howlett@Oracle.com>
Wed, 31 Jul 2019 14:52:35 +0000 (10:52 -0400)
commit8f9ae25f656493da0d05400ac740896e3c82adde
treeeca1b3fe274f0c6d69c5af68216e963a727b2018
parent2a9cdce6f88f719c71df2ec4bb1767df189355a4
maple_tree: Change ma_coalesce to return the number of slots removed.

Set ma->node to the new node, so save the previous node before calling
the function.  Also fix an off-by-one error in ma_coalesce.

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