Btrfs: fix how we reserve space for deleting inodes
authorJosef Bacik <josef@redhat.com>
Fri, 5 Aug 2011 17:22:24 +0000 (13:22 -0400)
committerJosef Bacik <josef@redhat.com>
Wed, 19 Oct 2011 19:12:33 +0000 (15:12 -0400)
commit4289a667a0d7c6b134898cac7bfbe950267c305c
tree2a0564c4d33dc7f56eb7c1b0671885d5dbb79381
parent37be25bcb6d731914e126f8de59c4367f0d66b80
Btrfs: fix how we reserve space for deleting inodes

I converted btrfs_truncate to do sane reservations for truncate, but didn't
convert btrfs_evict_inode.  Basically we need to save the orphan_rsv for
deleting the orphan item, and do normal reservations for our truncate.  Thanks,

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