]> 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>
Tue, 5 Jan 2021 17:28:04 +0000 (12:28 -0500)
commitf5a8b68c0b14f79da33557492c9e0ccd1f8c2e53
treeb23d8b6bb0bce932ba68282123b430d1b00b4ac3
parente49992644d44762fe1396b0130b12ca4dc7dc124
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