summaryrefslogtreecommitdiff
path: root/fs/btrfs/btrfs_inode.h
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fusionio.com>2013-04-17 16:16:59 (GMT)
committerJosef Bacik <jbacik@fusionio.com>2013-05-06 19:55:00 (GMT)
commit62dbd7176e196cd042c5542696981b268264fe92 (patch)
tree90992e6775549b70fa3aa106a40c25d964dc78c2 /fs/btrfs/btrfs_inode.h
parent534e6623b7bc03ddcf6c98b9398ff512d5135fe5 (diff)
downloadlinux-fsl-qoriq-62dbd7176e196cd042c5542696981b268264fe92.tar.xz
Btrfs: fix lockdep warning
The locking order for stuff is __sb_start_write ordered_mutex but with sync() we don't do __sb_start_write for some strange reason, which means that our iput in wait_ordered_extents could start a transaction which does the __sb_start_write while we're holding the ordered_mutex. Fix this by using delayed iput in sync. Thanks, Reported-by: David Sterba <dsterba@suse.cz> Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'fs/btrfs/btrfs_inode.h')
0 files changed, 0 insertions, 0 deletions