aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/libxfs/xfs_ialloc_btree.c
diff options
context:
space:
mode:
authorDarrick J. Wong <[email protected]>2023-04-12 02:00:01 +0000
committerDarrick J. Wong <[email protected]>2023-04-12 02:00:01 +0000
commit35e3b9a11740b53387e7af151768c13700f80696 (patch)
treebfbce133519b783769af0b90873c75a66bb56389 /fs/xfs/libxfs/xfs_ialloc_btree.c
parentxfs: scrub should use ECHRNG to signal that the drain is needed (diff)
downloadkernel-35e3b9a11740b53387e7af151768c13700f80696.tar.gz
kernel-35e3b9a11740b53387e7af151768c13700f80696.zip
xfs: standardize ondisk to incore conversion for free space btrees
Create a xfs_alloc_btrec_to_irec function to convert an ondisk record to an incore record, and a xfs_alloc_check_irec function to detect corruption. Replace all the open-coded logic with calls to the new helpers and bubble up corruption reports. Signed-off-by: Darrick J. Wong <[email protected]> Reviewed-by: Dave Chinner <[email protected]>
Diffstat (limited to 'fs/xfs/libxfs/xfs_ialloc_btree.c')
0 files changed, 0 insertions, 0 deletions