commit | 3ffc18ecd30ed21dc503fcbfb343c471a9112fb6 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Oct 17 14:16:23 2017 -0700 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Thu Oct 26 15:38:21 2017 -0700 |
tree | 97bd165551469aeae11dee27ce8e815e8f34130f | |
parent | 48fd52b16d74b937f44f87f942ddaff5e3e3db64 [diff] |
xfs: refactor xfs_bmap_add_extent_hole_delay 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. 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>