]> 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>
Fri, 30 Oct 2020 18:56:37 +0000 (14:56 -0400)
commit4d997da227ad61bf27c4f68d5e558601e9a70ca3
treea8ebec47eae8c5794e4e2d6a626dfb77b12c4ef7
parent0ea168fad743fdace3df6de6c30533c37c98c949
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