diff options
author | Christoph Hellwig <hch@lst.de> | 2017-10-17 14:16:25 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2017-10-26 15:38:22 -0700 |
commit | 79fa6143a939a6b50d1d9dc736336e57d06b849d (patch) | |
tree | c54ad557206008a8ddb07a8df779cb97bfc1653b /Documentation | |
parent | ca1862b0838604aa048120d87ebbf53cf7c8c8bd (diff) | |
download | linux-79fa6143a939a6b50d1d9dc736336e57d06b849d.tar.gz linux-79fa6143a939a6b50d1d9dc736336e57d06b849d.tar.bz2 linux-79fa6143a939a6b50d1d9dc736336e57d06b849d.zip |
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 <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions