summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_refcount_item.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-11-22 21:34:56 -0800
commit5dc0d52fd75677bfe8a313e59e66ab84e3fdb302 (patch)
tree317a86737e2a1b7d572d62390590d764917722c9 /fs/xfs/xfs_refcount_item.c
parent8a007574bc13bb8143123c82690f5c671ee4e0e8 (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/xfs_refcount_item.c')
0 files changed, 0 insertions, 0 deletions