From: Ian Kent Date: Mon, 22 Nov 2010 02:21:38 +0000 (+0000) Subject: Btrfs - fix race between btrfs_get_sb() and umount X-Git-Tag: v2.6.37-rc4~6^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=619c8c763928841b1112e1d417f88bc1d44daecb;p=pandora-kernel.git Btrfs - fix race between btrfs_get_sb() and umount When mounting a btrfs file system btrfs_test_super() may attempt to use sb->s_fs_info, the btrfs root, of a super block that is going away and that has had the btrfs root set to NULL in its ->put_super(). But if the super block is going away it cannot be an existing super block so we can return false in this case. Signed-off-by: Ian Kent Signed-off-by: Chris Mason --- Reading git-diff-tree failed