summaryrefslogtreecommitdiffstats
path: root/fs/anon_inodes.c
diff options
context:
space:
mode:
authorStefan Behrens <sbehrens@giantdisaster.de>2012-04-27 18:41:46 +0200
committerChris Mason <chris.mason@oracle.com>2012-04-27 19:55:14 +0200
commit1f699d38b6556c393ac80f1c23c2053502a51631 (patch)
tree9ba8e3c95cc044461eab17dfba50515535ca2a25 /fs/anon_inodes.c
parentBtrfs: Prevent root_list corruption (diff)
downloadlinux-1f699d38b6556c393ac80f1c23c2053502a51631.tar.xz
linux-1f699d38b6556c393ac80f1c23c2053502a51631.zip
Btrfs: fix block_rsv and space_info lock ordering
may_commit_transaction() calls spin_lock(&space_info->lock); spin_lock(&delayed_rsv->lock); and update_global_block_rsv() calls spin_lock(&block_rsv->lock); spin_lock(&sinfo->lock); Lockdep complains about this at run time. Everywhere except in update_global_block_rsv(), the space_info lock is the outer lock, therefore the locking order in update_global_block_rsv() is changed. Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de> Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/anon_inodes.c')
0 files changed, 0 insertions, 0 deletions