From: Dave Chinner Date: Wed, 3 Dec 2014 22:42:40 +0000 (+1100) Subject: xfs: cleanup xfs_bmse_merge returns X-Git-Tag: omap-for-v3.19/fixes-rc1~115^2^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4db431f57be2d32f35f46023b0c0d9f8b6e06e26;p=pandora-kernel.git xfs: cleanup xfs_bmse_merge returns Signed-off-by: Dave Chinner xfs_bmse_merge() has a jump label for return that just returns the error value. Convert all the code to just return the error directly and use XFS_WANT_CORRUPTED_RETURN. This also allows the final call to xfs_bmbt_update() to return directly. Noticed while reviewing coccinelle return cleanup patches and wondering why the same return pattern as in xfs_bmse_shift_one() wasn't picked up by the checker pattern... Signed-off-by: Dave Chinner Reviewed-by: Brian Foster Signed-off-by: Dave Chinner --- Reading git-diff-tree failed