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:03 -0700
committerDarrick J. Wong <djwong@kernel.org>2023-04-11 19:00:03 -0700
commitc4e34172da26cb57f56c471728853d3a428ec832 (patch)
tree11ca2cfd49581a30b652f40d4637a1bf9c5718dc /fs/xfs/libxfs/xfs_alloc.c
parent39ab26d59f039c6190bbaa8118a8f0ffed84492a (diff)
xfs: standardize ondisk to incore conversion for rmap btrees
Create a xfs_rmap_check_irec function to detect corruption in btree records. Fix all xfs_rmap_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