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-28 21:00:36 -0700 |
commit | c5959c6da52daebd23125dff16d1fe6b11f56828 (patch) | |
tree | b118f35f472635bb84322fb0de40ca260134f56f /samples | |
parent | f734830e4199a18adb25f085a817f3ebef88d4d3 (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