]> 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>
Fri, 30 Oct 2020 18:55:11 +0000 (14:55 -0400)
commitf67fa28bef6485e2e82111d6883dfd34ffa586c3
tree469e1e15d79c8038a0bd73afcb0520d710a4cd71
parent4e75c938cecbb7046586a1bdabe83b2f42f64616
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