aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2024-10-23 13:37:23 +0000
committerCarlos Maiolino <[email protected]>2024-10-30 10:27:18 +0000
commit81a1e1c32ef474c20ccb9f730afe1ac25b1c62a4 (patch)
tree239ac6892f198ca198ad7bcec7291a0317cee020 /tools/perf/util/trace-event-scripting.c
parentxfs: fix finding a last resort AG in xfs_filestream_pick_ag (diff)
downloadkernel-81a1e1c32ef474c20ccb9f730afe1ac25b1c62a4.tar.gz
kernel-81a1e1c32ef474c20ccb9f730afe1ac25b1c62a4.zip
xfs: streamline xfs_filestream_pick_ag
Directly return the error from xfs_bmap_longest_free_extent instead of breaking from the loop and handling it there, and use a done label to directly jump to the exist when we found a suitable perag structure to reduce the indentation level and pag/max_pag check complexity in the tail of the function. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Signed-off-by: Carlos Maiolino <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions