diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2019-10-08 16:55:23 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2019-10-19 10:39:23 -0700 |
commit | 79fa46b286e0580677545aa4571a6fab17671f09 (patch) | |
tree | d5ee91f6b147e999cf6e95eea4117c774224f0dd /include/asm-generic | |
parent | 99b86b3424dad409d103c3d89c00529fc0022fe0 (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 'include/asm-generic')
0 files changed, 0 insertions, 0 deletions