commit | e17a5c6f0e3609da83270f42698b1dfedde86f44 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Aug 29 15:44:14 2017 -0700 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Fri Sep 01 13:08:26 2017 -0700 |
tree | 06e618698006a524252781215dc293a832d59abf | |
parent | 4c35445b591ee669097c5b98e4bb677808e9f582 [diff] |
xfs: rewrite xfs_bmap_count_leaves using xfs_iext_get_extent This avoids poking into the internals of the extent list. Also return the number of extents as the return value instead of an additional by reference argument, and make it available to callers outside of xfs_bmap_util.c Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>