summaryrefslogtreecommitdiffstats
path: root/fs/squashfs/super.c
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2011-12-07 04:38:24 +0100
committerLi Zefan <lizf@cn.fujitsu.com>2012-01-11 03:26:54 +0100
commitb367e47fb3a70f5d24ebd6faf7d42436d485fb2d (patch)
tree5acc05bae14070f2dad3433a1482fe3a7bab0744 /fs/squashfs/super.c
parentBtrfs: update global block_rsv when creating a new block group (diff)
downloadlinux-b367e47fb3a70f5d24ebd6faf7d42436d485fb2d.tar.xz
linux-b367e47fb3a70f5d24ebd6faf7d42436d485fb2d.zip
Btrfs: fix possible deadlock when opening a seed device
The correct lock order is uuid_mutex -> volume_mutex -> chunk_mutex, but when we mount a filesystem which has backing seed devices, we have this lock chain: open_ctree() lock(chunk_mutex); read_chunk_tree(); read_one_dev(); open_seed_devices(); lock(uuid_mutex); and then we hit a lockdep splat. Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Diffstat (limited to 'fs/squashfs/super.c')
0 files changed, 0 insertions, 0 deletions