Btrfs: don't invoke btrfs_invalidate_inodes() in the spin lock context
authorMiao Xie <miaox@cn.fujitsu.com>
Wed, 15 May 2013 07:48:21 +0000 (07:48 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Sat, 18 May 2013 01:40:34 +0000 (21:40 -0400)
commitb216cbfb52c08300c203abf06ea9519d15d10045
tree095d3affbe72c1066606d8f6e45fc4bc00e4f850
parent314297c2a3fbcbda992507f70cd04cc82084e434
Btrfs: don't invoke btrfs_invalidate_inodes() in the spin lock context

btrfs_invalidate_inodes() may sleep, so we should not invoke it in the
spin lock context. Fix it.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/disk-io.c