]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Fix mas_prev issue with parent slot & loop at root.
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Sat, 22 Feb 2020 04:00:32 +0000 (23:00 -0500)
committerLiam R. Howlett <Liam.Howlett@Oracle.com>
Fri, 30 Oct 2020 19:00:32 +0000 (15:00 -0400)
commitf1353029b9aaebf1875ae881958d303cfde52342
treefc0fd6046344a13ad96b6c25a9f7f568ef103a09
parentac294b2f35312c7b39277078330155cf7f3ec771
maple_tree: Fix mas_prev issue with parent slot & loop at root.

parent slots were not being set correctly for the first ascend.  This
caused data to be skipped.

There was also an infinite loop if this was the first entry in a deep
tree.

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