]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: fix nocow when deleting the item
authorMiao Xie <miaox@cn.fujitsu.com>
Fri, 11 Nov 2011 01:45:04 +0000 (20:45 -0500)
committerChris Mason <chris.mason@oracle.com>
Fri, 11 Nov 2011 01:45:04 +0000 (20:45 -0500)
commit066221eff65fc14d92ee1e9db697190fda40baba
treec31afbc9ba7dbc27eea43a0319a64732d180a3d2
parent57ad5990fd89d54bbe5c30b57e8e6412a575c392
Btrfs: fix nocow when deleting the item

btrfs_previous_item() just search the b+ tree, do not COW the nodes or leaves,
if we modify the result of it, the meta-data will be broken. fix it.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/volumes.c