commit | e992ae8afdedcdfe65ededd96b5a15319f2e6bae | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Mon Oct 28 16:12:35 2019 -0700 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Tue Oct 29 09:50:12 2019 -0700 |
tree | 878231368f19832e9180e7b864b0e7c1e3d86049 | |
parent | fec40e220ffcbecadfdd95a68dc3dec1996b8ff6 [diff] |
xfs: refactor xfs_iread_extents to use xfs_btree_visit_blocks xfs_iread_extents open-codes everything in xfs_btree_visit_blocks, so refactor the btree helper to be able to iterate only the records on level 0, then port iread_extents to use it. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de>