]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
Btrfs: use the global reserve when truncating the free space cache inode
authorJosef Bacik <josef@redhat.com>
Wed, 2 Nov 2011 13:29:35 +0000 (09:29 -0400)
committerChris Mason <chris.mason@oracle.com>
Sun, 6 Nov 2011 08:03:50 +0000 (03:03 -0500)
commitc8174313a8102e874aaa321e2fc4c7c460a87151
tree366dc804d4b5d0d8c32d70cc554651efa552ba59
parent5a77d76c243be18d854aa1b14d697525f60e169a
Btrfs: use the global reserve when truncating the free space cache inode

We no longer use the orphan block rsv for holding the reservation for truncating
the inode, so instead use the global block rsv and check to make sure it has
enough space for us to truncate the space.  Thanks,

Signed-off-by: Josef Bacik <josef@redhat.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/free-space-cache.c