diff options
| author | Christoph Hellwig <[email protected]> | 2024-02-22 20:39:48 +0000 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2024-02-22 20:39:48 +0000 |
| commit | 48039926197522f32b548731a3b94331f0551bdc (patch) | |
| tree | bdc0dada88407107606d76dc57bf8858f57522a8 /fs/xfs/libxfs/xfs_ialloc_btree.c | |
| parent | xfs: add a sick_mask to struct xfs_btree_ops (diff) | |
| download | kernel-48039926197522f32b548731a3b94331f0551bdc.tar.gz kernel-48039926197522f32b548731a3b94331f0551bdc.zip | |
xfs: refactor the btree cursor allocation logic in xchk_ag_btcur_init
Change xchk_ag_btcur_init to allocate all cursors first and only then
check if we should delete them again because the btree is to damaged.
This allows reusing the sick_mask in struct xfs_btree_ops and simplifies
the code.
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
