summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/volumes.c
diff options
context:
space:
mode:
authorLiu Bo2013-10-11 10:30:23 +0200
committerChris Mason2013-11-12 04:01:00 +0100
commit30d133fc221a0ec50030c33aa7bf6931503894c7 (patch)
tree7621261cbc301b13d1946e5c20d68462018e50d3 /fs/btrfs/volumes.c
parentBtrfs: disallow 'btrfs {balance,replace} cancel' on ro mounts (diff)
downloadkernel-qcow2-linux-30d133fc221a0ec50030c33aa7bf6931503894c7.tar.gz
kernel-qcow2-linux-30d133fc221a0ec50030c33aa7bf6931503894c7.tar.xz
kernel-qcow2-linux-30d133fc221a0ec50030c33aa7bf6931503894c7.zip
Btrfs: fixup error path in __btrfs_inc_extent_ref
When we fail to add a reference after a non-inline insertion by some reasons, eg. ENOSPC, we'll abort the transaction, but we don't return this error to the caller who has to walk around again to find something wrong, that's unnecessary. Also fixup other error paths to keep it simple. Signed-off-by: Liu Bo <bo.li.liu@oracle.com> Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'fs/btrfs/volumes.c')
0 files changed, 0 insertions, 0 deletions