summaryrefslogtreecommitdiff
path: root/fs/xfs/libxfs/xfs_btree.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2019-10-08 16:55:23 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2019-10-19 10:39:23 -0700
commit79fa46b286e0580677545aa4571a6fab17671f09 (patch)
treed5ee91f6b147e999cf6e95eea4117c774224f0dd /fs/xfs/libxfs/xfs_btree.c
parent99b86b3424dad409d103c3d89c00529fc0022fe0 (diff)
xfs: refactor xfs_bmap_count_blocks using newer btree helpers
Currently, this function open-codes walking a bmbt to count the extents and blocks in use by a particular inode fork. Since we now have a function to tally extent records from the incore extent tree and a btree helper to count every block in a btree, replace all that with calls to the helpers. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/libxfs/xfs_btree.c')
0 files changed, 0 insertions, 0 deletions