summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_extent_busy.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2024-02-22 21:39:48 +0100
committerDarrick J. Wong <djwong@kernel.org>2024-02-22 21:39:48 +0100
commit48039926197522f32b548731a3b94331f0551bdc (patch)
treebdc0dada88407107606d76dc57bf8858f57522a8 /fs/xfs/xfs_extent_busy.c
parentxfs: add a sick_mask to struct xfs_btree_ops (diff)
downloadlinux-48039926197522f32b548731a3b94331f0551bdc.tar.xz
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_extent_busy.c')
0 files changed, 0 insertions, 0 deletions