commit | 4dcb8869871cc102b9431ae78b40bfc39087b90c | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Oct 17 14:16:24 2017 -0700 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Thu Oct 26 15:38:21 2017 -0700 |
tree | cc93fb7b4e31c2e49061e1d7df315a3e978eaf42 | |
parent | 1abb9e55326c19bb41a9a2fd1179ed635e8af38c [diff] |
xfs: refactor xfs_bmap_add_extent_delay_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. 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>