]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: fix space accounting for unlink and rename
authorJosef Bacik <jbacik@fusionio.com>
Tue, 26 Mar 2013 19:26:55 +0000 (15:26 -0400)
committerJosef Bacik <jbacik@fusionio.com>
Thu, 28 Mar 2013 13:51:27 +0000 (09:51 -0400)
commitde8808702ddc1e4c4092292d12ef41b9db0a39b8
treeb3ecd59c91104f4f236a92dbe98236d42dc70ce2
parentfcf5498f03f78678e42ff7da821cae52bc2a1eee
Btrfs: fix space accounting for unlink and rename

We are way over-reserving for unlink and rename.  Rename is just some random
huge number and unlink accounts for tree log operations that don't actually
happen during unlink, not to mention the tree log doesn't take from the trans
block rsv anyway so it's completely useless.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/inode.c