Btrfs: fall back to non-inline if we don't have enough space
authorJosef Bacik <josef@redhat.com>
Wed, 23 May 2012 20:10:14 +0000 (16:10 -0400)
committerJosef Bacik <josef@redhat.com>
Wed, 30 May 2012 14:23:38 +0000 (10:23 -0400)
If cow_file_range_inline fails with ENOSPC we abort the transaction which
isn't very nice.  This really shouldn't be happening anyways but there's no
sense in making it a horrible error when we can easily just go allocate
normal data space for this stuff.  Thanks,

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

Simple merge