aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorDave Chinner <[email protected]>2019-08-29 09:04:07 -0700
committerDarrick J. Wong <[email protected]>2019-08-30 22:43:57 -0700
commit0e822255f95db400e56e19773e04755d79b50bda (patch)
tree4bf283a5959b9ce864a25d9725ca8fc7593a13e5 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parenta07258a695281109422011182db069a0e6f8855e (diff)
xfs: factor free block index lookup from xfs_dir2_node_addname_int()
Simplify the logic in xfs_dir2_node_addname_int() by factoring out the free block index lookup code that finds a block with enough free space for the entry to be added. The code that is moved gets a major cleanup at the same time, but there is no algorithm change here. Signed-off-by: Dave Chinner <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions