aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent_io.c
diff options
context:
space:
mode:
authorIan Kent <raven@themaw.net>2010-11-22 02:21:38 +0000
committerChris Mason <chris.mason@oracle.com>2010-11-27 13:37:44 -0500
commit619c8c763928841b1112e1d417f88bc1d44daecb (patch)
tree23fc73cf043faac2cdb15a0b22e6e9e29a69797a /fs/btrfs/extent_io.c
parentbc1cbf1f86aa2501efa9ca637c736fce6bcc4b1d (diff)
downloadkernel_samsung_smdk4412-619c8c763928841b1112e1d417f88bc1d44daecb.zip
kernel_samsung_smdk4412-619c8c763928841b1112e1d417f88bc1d44daecb.tar.gz
kernel_samsung_smdk4412-619c8c763928841b1112e1d417f88bc1d44daecb.tar.bz2
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 <raven@themaw.net> Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/extent_io.c')
0 files changed, 0 insertions, 0 deletions