summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_fsops.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2024-02-22 12:39:48 -0800
committerDarrick J. Wong <djwong@kernel.org>2024-02-22 12:39:48 -0800
commit48039926197522f32b548731a3b94331f0551bdc (patch)
treebdc0dada88407107606d76dc57bf8858f57522a8 /fs/xfs/xfs_fsops.c
parent7f47734ad61af77a001b1e24691dcbfcb008c938 (diff)
downloadlinux-48039926197522f32b548731a3b94331f0551bdc.tar.gz
linux-48039926197522f32b548731a3b94331f0551bdc.tar.bz2
linux-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 <hch@lst.de> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_fsops.c')
0 files changed, 0 insertions, 0 deletions