]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Fix split & insert to use last slot.
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Fri, 1 Feb 2019 19:21:33 +0000 (14:21 -0500)
committerLiam R. Howlett <Liam.Howlett@Oracle.com>
Wed, 31 Jul 2019 14:52:39 +0000 (10:52 -0400)
commitadd03e135570a0983297b7dc9e9a6ef700c74ca0
tree0ce1c13df8de647f396b4b0a244faa35ce0a67eb
parent4b8513df4a4c5d32454e3b9477e4a5488e903131
maple_tree: Fix split & insert to use last slot.

The last slot was revealed to be NULL always.  Fix this by changing the
the end calculations and to ensure it is okay to use the final slot.

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