aboutsummaryrefslogtreecommitdiff
path: root/block/blk-integrity.c
diff options
context:
space:
mode:
authorLiam Howlett2023-02-27 09:36:01 -0800
committerAndrew Morton2023-04-05 18:06:21 -0700
commita7b92d59c885018cb7bb88539892278e4fd64b29 (patch)
treef013678342bf7354e81d1640add97ea832e6e031 /block/blk-integrity.c
parent39d0bd86c499ecd6abae42a9b7112056c5560691 (diff)
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. This is necessary for RCU mode of the maple tree. Link: https://lkml.kernel.org/r/20230227173632.3292573-3-surenb@google.com Fixes: 54a611b60590 ("Maple Tree: add new data structure") Signed-off-by: Liam Howlett <Liam.Howlett@oracle.com> Signed-off-by: Suren Baghdasaryan <surenb@google.com> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'block/blk-integrity.c')
0 files changed, 0 insertions, 0 deletions