From: Liu Bo Date: Fri, 11 Oct 2013 08:30:23 +0000 (+0800) Subject: Btrfs: fixup error path in __btrfs_inc_extent_ref X-Git-Tag: v3.13-rc1~85^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30d133fc221a0ec50030c33aa7bf6931503894c7;p=pandora-kernel.git 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 Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed