]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Remove mas_walk in favour of mas_load.
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Thu, 31 Oct 2019 14:42:09 +0000 (10:42 -0400)
committerLiam R. Howlett <Liam.Howlett@Oracle.com>
Tue, 5 Jan 2021 17:28:15 +0000 (12:28 -0500)
commit924616493914676cf333aad2d6fe4ef787e5a4ba
tree465df5b97621ff4f49354df468d12518dbc2a215
parent171c61bc6900264a528109c4625cf470b9b9bd57
maple_tree: Remove mas_walk in favour of mas_load.

mas_walk was called in a single place for loading the value.  Rename the
function and clean it up.  Add retry on dead node detection and retry
entries.  Note that this can return the zero entry.

Also fix comments for _mas_walk

Also update limits on _mas_walk so that the maple state can be used for
checking the range limit of a search result.

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