From: Al Viro Date: Thu, 17 Nov 2011 06:29:09 +0000 (-0500) Subject: btrfs: fix mount/umount race X-Git-Tag: v3.3-rc1~25^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6de1d09d9677dce7a04ef485d426821159ab7de9;p=pandora-kernel.git 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 --- Reading git-diff-tree failed