diff options
author | Darrick J. Wong <djwong@kernel.org> | 2023-04-11 19:00:03 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2023-04-11 19:00:03 -0700 |
commit | c4e34172da26cb57f56c471728853d3a428ec832 (patch) | |
tree | 11ca2cfd49581a30b652f40d4637a1bf9c5718dc /fs/xfs/libxfs/xfs_alloc.c | |
parent | 39ab26d59f039c6190bbaa8118a8f0ffed84492a (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