]> 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>
Tue, 5 Jan 2021 17:28:00 +0000 (12:28 -0500)
commite14efead3004e53c36fe7c739659bb3be8c6e763
treee86e27439c2f191d718cec35067357e0d36f9ee6
parenta255f3327c4b1317e0dd10932629820fa8748637
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