aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorDave Chinner <[email protected]>2014-12-03 22:42:40 +0000
committerDave Chinner <[email protected]>2014-12-03 22:42:40 +0000
commit4db431f57be2d32f35f46023b0c0d9f8b6e06e26 (patch)
treed924d61ca0a28577685d00d26b62af5648982edf /lib/dynamic_debug.c
parentxfs: cleanup xfs_bmse_shift_one goto mess (diff)
downloadkernel-4db431f57be2d32f35f46023b0c0d9f8b6e06e26.tar.gz
kernel-4db431f57be2d32f35f46023b0c0d9f8b6e06e26.zip
xfs: cleanup xfs_bmse_merge returns
Signed-off-by: Dave Chinner <[email protected]> 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 <[email protected]> Reviewed-by: Brian Foster <[email protected]> Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions