commit | b11bd671ba8a0268753db25684115acde57d3d32 | [log] [tgz] |
---|---|---|
author | Dave Chinner <dchinner@redhat.com> | Thu Dec 04 09:42:24 2014 +1100 |
committer | Dave Chinner <david@fromorbit.com> | Thu Dec 04 09:42:24 2014 +1100 |
tree | 8ee588f9409192aed706c00557642ad7adafce54 | |
parent | 7a1df1561609c14ac457d65d9a4a2b6c0f4204ad [diff] |
xfs: cleanup xfs_bmse_shift_one goto mess xfs_bmse_shift_one() jumps around determining whether to shift or merge, making the code flow difficult to follow. Clean it up and use direct error returns (including XFS_WANT_CORRUPTED_RETURN) to make the code flow better and be easier to read. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>