diff options
author | Josef Bacik <josef@redhat.com> | 2012-05-23 16:10:14 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-17 11:21:24 -0700 |
commit | 4e050dfccceeb07641b8cf50618eb71e5208a6dc (patch) | |
tree | c4ab8a5a76896d58c1197edf7537f070d51b2bec /lib/flex_array.c | |
parent | e82c95f9f0cb025da8e1af6df1c29080a78d0f84 (diff) |
Btrfs: fall back to non-inline if we don't have enough space
commit 2adcac1a7331d93a17285804819caa96070b231f upstream.
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>
Acked-by: Chris Mason <chris.mason@fusionio.com>
Cc: Alexandre Oliva <oliva@lsd.ic.unicamp.br>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/flex_array.c')
0 files changed, 0 insertions, 0 deletions