]> 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>
Fri, 30 Oct 2020 19:00:31 +0000 (15:00 -0400)
commit1f485208510d4230c895ddb256e244d3d21557c8
treef230a16050a3888703555f651af649bc59b28b42
parentbe812de9d77392d9e82af6586436bdb2f263af9c
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