Revert "btrfs: switch to ->iterate_shared()"
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 18 May 2016 17:15:05 +0000 (13:15 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 18 May 2016 17:19:17 +0000 (13:19 -0400)
commitfe742fd4f90fa53cf31296bc5131ae1cdd6d84bb
tree72737093c807234b5a1dbc9ad1d858b7d74e11bc
parentae05327a00fd47c34dfe25294b359a3f3fef96e8
Revert "btrfs: switch to ->iterate_shared()"

This reverts commit 972b241f8441dc37a3f89dcd7e71d7f013873d13.
Quoth Chris:
didn't take the delayed inode stuff into account
it got an rbtree of items and it pulls things out
so in shared mode, its hugely racey
sorry, lets revert and fix it for real inside of btrfs

Signed-off-by: Chris Mason <clm@fb.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/btrfs/inode.c