]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Fix __mas_next() when the limit is hit
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Fri, 20 Nov 2020 03:43:40 +0000 (22:43 -0500)
committerLiam R. Howlett <Liam.Howlett@Oracle.com>
Sat, 21 Nov 2020 00:57:22 +0000 (19:57 -0500)
commit6d0d9e23b9a979c75d518e35cb399c4cf39db05c
tree051c833bbab93791f0b5b5df92c075cf268af649
parentf9550e22db032e705f5e7155b7b8249db941c7e8
maple_tree: Fix __mas_next() when the limit is hit

When a search limit is hit, restore the previous location so that
mas_next() works on that particular ma_state.

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