aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorDave Chinner <[email protected]>2014-12-04 09:42:24 +1100
committerDave Chinner <[email protected]>2014-12-04 09:42:24 +1100
commitb11bd671ba8a0268753db25684115acde57d3d32 (patch)
tree8ee588f9409192aed706c00557642ad7adafce54 /lib/test-string_helpers.c
parent7a1df1561609c14ac457d65d9a4a2b6c0f4204ad (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 <[email protected]> Reviewed-by: Brian Foster <[email protected]> Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions