aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/xfs/xfs_error.h
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2019-10-28 16:12:35 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2019-10-29 09:50:11 -0700
commitfec40e220ffcbecadfdd95a68dc3dec1996b8ff6 (patch)
treebb7df1cb5f703e0a897abec113e672142fca8eb7 /fs/xfs/xfs_error.h
parentxfs: replace -EIO with -EFSCORRUPTED for corrupt metadata (diff)
downloadwireguard-linux-fec40e220ffcbecadfdd95a68dc3dec1996b8ff6.tar.xz
wireguard-linux-fec40e220ffcbecadfdd95a68dc3dec1996b8ff6.zip
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> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_error.h')
0 files changed, 0 insertions, 0 deletions