Btrfs: Use btrfs_update_inode_fallback when creating a snapshot
authorJosef Bacik <jbacik@fusionio.com>
Mon, 22 Oct 2012 19:43:12 +0000 (15:43 -0400)
committerChris Mason <chris.mason@fusionio.com>
Thu, 25 Oct 2012 19:50:18 +0000 (15:50 -0400)
commitbe6aef604920406b348acf3be6e6e8db55696386
tree2d458852fafacb2bad7788311b10b879ba920f40
parente2d044fe77f8e845333bb1bd29587dc08a4346a0
Btrfs: Use btrfs_update_inode_fallback when creating a snapshot

On a really full file system I was getting ENOSPC back from
btrfs_update_inode when trying to update the parent inode when creating a
snapshot.  Just use the fallback method so we can update the inode and not
have to worry about having a delayed ref.  Thanks,

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