diff options
author | 2019-08-29 09:04:07 -0700 | |
---|---|---|
committer | 2019-08-30 22:43:57 -0700 | |
commit | 0e822255f95db400e56e19773e04755d79b50bda (patch) | |
tree | 4bf283a5959b9ce864a25d9725ca8fc7593a13e5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | xfs: factor data block addition from xfs_dir2_node_addname_int() (diff) | |
download | linux-dev-0e822255f95db400e56e19773e04755d79b50bda.tar.xz linux-dev-0e822255f95db400e56e19773e04755d79b50bda.zip |
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 <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions