diff options
author | Christoph Hellwig <hch@lst.de> | 2017-08-30 00:44:14 +0200 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2017-09-01 22:08:26 +0200 |
commit | e17a5c6f0e3609da83270f42698b1dfedde86f44 (patch) | |
tree | 06e618698006a524252781215dc293a832d59abf /drivers/usb/dwc3 | |
parent | xfs: use xfs_iext_*_extent helpers in xfs_bmap_split_extent_at (diff) | |
download | linux-e17a5c6f0e3609da83270f42698b1dfedde86f44.tar.xz 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 'drivers/usb/dwc3')
0 files changed, 0 insertions, 0 deletions