summaryrefslogtreecommitdiff
path: root/samples
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-28 21:00:36 -0700
commitc5959c6da52daebd23125dff16d1fe6b11f56828 (patch)
treeb118f35f472635bb84322fb0de40ca260134f56f /samples
parentf734830e4199a18adb25f085a817f3ebef88d4d3 (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 'samples')
0 files changed, 0 insertions, 0 deletions