Btrfs: fix wrong reserved space when deleting a snapshot/subvolume
authorMiao Xie <miaox@cn.fujitsu.com>
Thu, 28 Feb 2013 10:05:36 +0000 (10:05 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Thu, 28 Feb 2013 18:33:55 +0000 (13:33 -0500)
When deleting a snapshot/subvolume, we need remove root ref/backref,
dir entries and update the dir inode, so we must reserve free space
for those operations.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>

No differences found