]> 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>
Tue, 5 Jan 2021 17:28:22 +0000 (12:28 -0500)
commitc58b9bf4c367ae2f4feb46c63b2bbce30e835808
tree110834cbd406688d197a86af3d95119c821da4b1
parent572fc40da7df8e51b6ef65559b2253d7607faff0
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