diff options
| author | 2016-12-14 15:08:46 -0800 | |
|---|---|---|
| committer | 2016-12-14 16:04:10 -0800 | |
| commit | b35df27a39f40e39fabf1b1e9569c7b24e1add6a (patch) | |
| tree | 71087099c9e8ef10d8a1475815633ded88c2c03c /tools/testing/radix-tree/multiorder.c | |
| parent | radix-tree: improve dump output (diff) | |
| download | linux-rng-b35df27a39f40e39fabf1b1e9569c7b24e1add6a.tar.xz linux-rng-b35df27a39f40e39fabf1b1e9569c7b24e1add6a.zip | |
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/1480369871-5271-54-git-send-email-mawilcox@linuxonhyperv.com
Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
Tested-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Konstantin Khlebnikov <koct9i@gmail.com>
Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
Cc: Matthew Wilcox <mawilcox@microsoft.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/testing/radix-tree/multiorder.c')
0 files changed, 0 insertions, 0 deletions
