From: Dave Chinner Date: Wed, 25 Mar 2015 03:05:43 +0000 (+1100) Subject: xfs: cleanup xfs_rename error handling X-Git-Tag: omap-for-v4.2/o2_dc~34^2~4^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=445883e8133975fe8d555610c70c1c4c501f0bf8;p=pandora-kernel.git xfs: cleanup xfs_rename error handling The jump labels are ambiguous and unclear and some of the error paths are used inconsistently. Rules for error jumps are: - use out_trans_cancel for unmodified transaction context - use out_bmap_cancel on ENOSPC errors - use out_trans_abort when transaction is likely to be dirty. Signed-off-by: Dave Chinner Reviewed-by: Eric Sandeen Reviewed-by: Brian Foster Signed-off-by: Dave Chinner --- Reading git-diff-tree failed