]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: Protect the readonly flag of block group
authorWuBo <wu.bo@cn.fujitsu.com>
Tue, 26 Jul 2011 03:30:11 +0000 (03:30 +0000)
committerChris Mason <chris.mason@oracle.com>
Mon, 1 Aug 2011 18:30:43 +0000 (14:30 -0400)
commitec434ebdcee588b8a0e2519e2ac0d95889ac4647
tree6c20e098a3be7aad77419dc273bfd670dc470f3a
parent885ef2a455efdfcf8a2139e34cbe7bd1160c5e81
Btrfs: Protect the readonly flag of block group

The access for ro in btrfs_block_group_cache should be protected
because of the racy lock in relocation.

Signed-off-by: Wu Bo <wu.bo@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/extent-tree.c