]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: mas_start() reset depth on dead node
authorLiam R. Howlett <Liam.Howlett@oracle.com>
Mon, 3 Apr 2023 15:54:21 +0000 (11:54 -0400)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Thu, 27 Apr 2023 01:40:54 +0000 (21:40 -0400)
commit52cf1ccaf6a0266074309eb76821c6568360b2ba
tree8e7e8cad6f2c6271d4f8df55df4788c54229da54
parentd316aa734b1ca7561dbd167cf6cd20e569a5d237
maple_tree: mas_start() reset depth on dead node

When a dead node is detected, the depth has already been set to 1 so
reset it to 0.

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