]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Handle MAS_NONE and MAS_PAUSE in mas_walk()
authorLiam R. Howlett <Liam.Howlett@oracle.com>
Fri, 10 Feb 2023 21:47:25 +0000 (16:47 -0500)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Mon, 13 Feb 2023 13:42:04 +0000 (08:42 -0500)
commitd395f2da4c706671abd2327033cc82b66ee2ad48
tree1295814787290efbe26200f0dd5c41e89bc2a017
parentbcc91be5fc177962b994127e53bcdc0c0da99765
maple_tree: Handle MAS_NONE and MAS_PAUSE in mas_walk()

When walking the tree, handle MAS_NONE and MAS_PAUSE the same as
MAS_START.

This also fixes a potential error returned when re-walking a single
entry tree of 0 - 0.

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