diff options
author | 2024-02-22 12:39:48 -0800 | |
---|---|---|
committer | 2024-02-22 12:39:48 -0800 | |
commit | 48039926197522f32b548731a3b94331f0551bdc (patch) | |
tree | bdc0dada88407107606d76dc57bf8858f57522a8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | xfs: add a sick_mask to struct xfs_btree_ops (diff) | |
download | wireguard-linux-48039926197522f32b548731a3b94331f0551bdc.tar.xz wireguard-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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions