diff options
| author | Christoph Hellwig <[email protected]> | 2024-02-22 20:40:57 +0000 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2024-02-22 20:40:57 +0000 |
| commit | 4ce0c711d9ab3a435bc605cd2f36a3f6b4e12c05 (patch) | |
| tree | 1cdc83b7d4b546790fe8a0559d11bde028e6b3a9 /fs/xfs/libxfs/xfs_ialloc_btree.c | |
| parent | xfs: tighten up validation of root block in inode forks (diff) | |
| download | kernel-4ce0c711d9ab3a435bc605cd2f36a3f6b4e12c05.tar.gz kernel-4ce0c711d9ab3a435bc605cd2f36a3f6b4e12c05.zip | |
xfs: consolidate btree block verification
Add a __xfs_btree_check_block helper that can be called by the scrub code
to validate a btree block of any form, and move the duplicate error
handling code from xfs_btree_check_sblock and xfs_btree_check_lblock into
xfs_btree_check_block and thus remove these two helpers.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'fs/xfs/libxfs/xfs_ialloc_btree.c')
0 files changed, 0 insertions, 0 deletions
