]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Detect dead nodes in mas_start()
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Thu, 24 Nov 2022 15:48:23 +0000 (10:48 -0500)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Mon, 28 Nov 2022 20:18:33 +0000 (15:18 -0500)
commit10baabda8ba5a01ca81e095a1097f633838ab351
treeab623116f06599d0844dc0c5db958004ee140a43
parent89722aa1b7c5afcb7c062fbd2c2307e28bc29a2c
maple_tree: Detect dead nodes in mas_start()

When initially starting a search, the root node may already be in the
process of being replaced in RCU mode.  Detect and restart the walk if
this is the case.

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