]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita41754464f137d18def3037babcc96ad06b52547
treed5da1421dc605b64d34bc0cab4ae91de086499fa
parentb544d7714ee66339ecb85799f9f9a3815131556e
Btrfs: fall back to non-inline if we don't have enough space

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