Matthew Wilcox b35df27a39 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>
2016-12-14 16:04:10 -08:00
..
2016-10-15 12:09:13 -07:00
2016-12-14 08:31:37 -08:00
2016-11-02 10:24:03 -06:00
2016-11-22 08:57:55 -07:00
2016-11-01 09:43:26 -06:00
2016-12-13 16:07:55 -08:00
2016-10-30 13:09:42 -04:00
2016-09-27 21:20:53 -04:00
2016-11-11 13:40:25 -07:00
2016-09-27 18:47:38 -04:00
2016-11-02 10:24:03 -06:00
2016-10-13 20:28:22 -07:00