aboutsummaryrefslogtreecommitdiff
path: root/fs/xfs/libxfs/xfs_alloc.c
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2023-04-11 19:00:02 -0700
committerDarrick J. Wong <djwong@kernel.org>2023-04-11 19:00:02 -0700
commit2b30cc0bf0589d1ea0506c019b9b81de77535c87 (patch)
tree13e38f65bc1022d11749528dc1d19c344a2d7451 /fs/xfs/libxfs/xfs_alloc.c
parent366a0b8d49c3a7edcb5331f254af195716ba4bdf (diff)
xfs: standardize ondisk to incore conversion for refcount btrees
Create a xfs_refcount_check_irec function to detect corruption in btree records. Fix all xfs_refcount_btrec_to_irec callsites to call the new helper and bubble up corruption reports. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/libxfs/xfs_alloc.c')
0 files changed, 0 insertions, 0 deletions