Btrfs: kill the orphan space calculation for snapshots
authorJosef Bacik <josef@redhat.com>
Thu, 4 Aug 2011 19:34:57 +0000 (15:34 -0400)
committerJosef Bacik <josef@redhat.com>
Wed, 19 Oct 2011 19:12:32 +0000 (15:12 -0400)
commitdba68306f3fae681b1005137f130f5bcfdfed34a
treeeb19fa46bc8f7130fd68393420255876cc8f73fb
parent7709cde33f12db71efb377fae4ae7aab6c94ebc6
Btrfs: kill the orphan space calculation for snapshots

This patch kills off the calculation for the amount of space needed for the
orphan operations during a snapshot.  The thing is we only do snapshots on
commit, so any space that is in the block_rsv->freed[] isn't going to be in the
new snapshot anyway, so there isn't any reason to require that space to be
reserved for the snapshot to occur.  Thanks,

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