]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
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)
commitc58aaad2ac46f8dbce9ab7f7a7a3726e332a56ee
tree6597760ea9f3c39f22f3ebada06b27ee59b8ea34
parentd5c1207017cd8387b4d3224dd7ab6cf5cd7f1c9a
Btrfs: fix wrong reserved space when deleting a snapshot/subvolume

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>
fs/btrfs/ioctl.c