]> 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>
Fri, 30 Oct 2020 18:55:37 +0000 (14:55 -0400)
commitb210298461250fcc1d18237b2e4c46afe2e39a41
treeb2dbc34c01201194370395904958d6e119cc432f
parenta6d8417dad62ca67b6324aa2311fe3fb0175c174
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