btrfs: fix mount/umount race
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 17 Nov 2011 06:29:09 +0000 (01:29 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 9 Jan 2012 00:33:23 +0000 (19:33 -0500)
commit6de1d09d9677dce7a04ef485d426821159ab7de9
treee906ecf66e13f5827df4a4c34adb327a45a73542
parentaea52e19dd2085617dd7d247afb76a90cf2ea40c
btrfs: fix mount/umount race

Do *NOT* skip doomed superblocks in btrfs_test_super(); we want
sget() to wait for their shutdown to complete.  Since we don't
mutilate ->s_fs_info in ->put_super() anymore (or free what it
used to point to until the superblock is past being findable
by sget()), we can just DTRT there and report a match.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/btrfs/super.c
This page took 0.024344 seconds and 5 git commands to generate.