]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Fix limit updating when rewinding nodes during reverse
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Fri, 21 Feb 2020 18:19:21 +0000 (13:19 -0500)
committerLiam R. Howlett <Liam.Howlett@Oracle.com>
Tue, 5 Jan 2021 17:28:21 +0000 (12:28 -0500)
commitff5a8d77f86e5d5a4ad64e85c480b26c33d82129
tree95d45da922d2b33372eef8679f836f98de0c7e4d
parentc40b679b6499fc22a12ba4c95eb37192eb5869a5
maple_tree: Fix limit updating when rewinding nodes during reverse
walks.

When walking backwards in a node that sat in slot 0 of the parent, the
limit would not be set correctly.  The fix is not to set the limits
until descending into the node.

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