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)
commit6e137ed3f30574f314733d4b7a86ea6523232b14
treeb3ecd59c91104f4f236a92dbe98236d42dc70ce2
parentf4881bc7a83eff263789dd524b7c269d138d4af5
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