diff options
| author | Christoph Hellwig <[email protected]> | 2017-10-17 14:16:25 -0700 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2017-10-26 15:38:22 -0700 |
| commit | 79fa6143a939a6b50d1d9dc736336e57d06b849d (patch) | |
| tree | c54ad557206008a8ddb07a8df779cb97bfc1653b /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | ca1862b0838604aa048120d87ebbf53cf7c8c8bd (diff) | |
xfs: refactor xfs_bmap_add_extent_unwritten_real
Use xfs_iext_get_extent to find, and xfs_iext_update_extent to update
entries in the in-core extent list. This isolates the function from
the detailed layout of the extent list, and generally makes the code
a lot more readable.
Also get rid of the oldext and newext variables as using the extent
records is a lot more descriptive.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Brian Foster <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions