diff options
author | Christoph Hellwig | 2017-08-30 00:44:14 +0200 |
---|---|---|
committer | Darrick J. Wong | 2017-09-01 22:08:26 +0200 |
commit | e17a5c6f0e3609da83270f42698b1dfedde86f44 (patch) | |
tree | 06e618698006a524252781215dc293a832d59abf /fs/xfs/libxfs/xfs_inode_fork.h | |
parent | xfs: use xfs_iext_*_extent helpers in xfs_bmap_split_extent_at (diff) | |
download | kernel-qcow2-linux-e17a5c6f0e3609da83270f42698b1dfedde86f44.tar.gz kernel-qcow2-linux-e17a5c6f0e3609da83270f42698b1dfedde86f44.tar.xz kernel-qcow2-linux-e17a5c6f0e3609da83270f42698b1dfedde86f44.zip |
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>
Diffstat (limited to 'fs/xfs/libxfs/xfs_inode_fork.h')
0 files changed, 0 insertions, 0 deletions