summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2014-12-04 09:42:24 +1100
committerDave Chinner <david@fromorbit.com>2014-12-04 09:42:24 +1100
commitb11bd671ba8a0268753db25684115acde57d3d32 (patch)
tree8ee588f9409192aed706c00557642ad7adafce54 /tools/perf/scripts/python/event_analyzing_sample.py
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 <dchinner@redhat.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions