summaryrefslogtreecommitdiffstats
path: root/fs/xfs/libxfs/xfs_inode_fork.h
diff options
context:
space:
mode:
authorChristoph Hellwig2017-08-30 00:44:14 +0200
committerDarrick J. Wong2017-09-01 22:08:26 +0200
commite17a5c6f0e3609da83270f42698b1dfedde86f44 (patch)
tree06e618698006a524252781215dc293a832d59abf /fs/xfs/libxfs/xfs_inode_fork.h
parentxfs: use xfs_iext_*_extent helpers in xfs_bmap_split_extent_at (diff)
downloadkernel-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