diff options
author | Dave Chinner <dchinner@redhat.com> | 2014-12-04 09:42:40 +1100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2014-12-04 09:42:40 +1100 |
commit | 4db431f57be2d32f35f46023b0c0d9f8b6e06e26 (patch) | |
tree | d924d61ca0a28577685d00d26b62af5648982edf /fs/xfs/libxfs/xfs_dir2_block.c | |
parent | b11bd671ba8a0268753db25684115acde57d3d32 (diff) |
xfs: cleanup xfs_bmse_merge returns
Signed-off-by: Dave Chinner <dchinner@redhat.com>
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 <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/libxfs/xfs_dir2_block.c')
0 files changed, 0 insertions, 0 deletions