]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Clear up index and last setting in single entry tree
authorLiam R. Howlett <Liam.Howlett@oracle.com>
Mon, 3 Apr 2023 15:59:40 +0000 (11:59 -0400)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Mon, 24 Apr 2023 20:20:42 +0000 (16:20 -0400)
commit900a714daa310c0d21ed084de7e172236f7c5813
tree9cd88ebaeb25dd3940665138f70115e40ba9e2a1
parentb418501240002583737ad346fb62077f3f867097
maple_tree: Clear up index and last setting in single entry tree

When there is a single entry tree (range of 0-0 pointing to an entry),
then ensure the limit is either 0-0 or 1-oo, depending on where the user
walks.  Ensure the correct node setting as well; either MAS_ROOT or
MAS_NONE.

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