aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/radix-tree/iteration_check.c
diff options
context:
space:
mode:
authorMatthew Wilcox <[email protected]>2016-12-14 15:08:46 -0800
committerLinus Torvalds <[email protected]>2016-12-14 16:04:10 -0800
commitb35df27a39f40e39fabf1b1e9569c7b24e1add6a (patch)
tree71087099c9e8ef10d8a1475815633ded88c2c03c /tools/testing/radix-tree/iteration_check.c
parent218ed7503aee07c7758dcbdd782e8c1a25c9f1e9 (diff)
btrfs: fix race in btrfs_free_dummy_fs_info()
We drop the lock which protects the radix tree, so we must call radix_tree_iter_next() in order to avoid a modification to the tree invalidating the iterator state. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Matthew Wilcox <[email protected]> Tested-by: Kirill A. Shutemov <[email protected]> Cc: Konstantin Khlebnikov <[email protected]> Cc: Ross Zwisler <[email protected]> Cc: Matthew Wilcox <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/testing/radix-tree/iteration_check.c')
0 files changed, 0 insertions, 0 deletions