xfs: remove the unused pagb_count field in struct xfs_perag

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>
This commit is contained in:
Christoph Hellwig 2024-11-03 20:18:25 -08:00 committed by Darrick J. Wong
parent cd8ae42a82
commit 4e071d79e4
2 changed files with 0 additions and 2 deletions

View File

@ -327,7 +327,6 @@ xfs_initialize_perag(
xfs_defer_drain_init(&pag->pag_intents_drain); xfs_defer_drain_init(&pag->pag_intents_drain);
init_waitqueue_head(&pag->pagb_wait); init_waitqueue_head(&pag->pagb_wait);
init_waitqueue_head(&pag->pag_active_wq); init_waitqueue_head(&pag->pag_active_wq);
pag->pagb_count = 0;
pag->pagb_tree = RB_ROOT; pag->pagb_tree = RB_ROOT;
xfs_hooks_init(&pag->pag_rmap_update_hooks); xfs_hooks_init(&pag->pag_rmap_update_hooks);
#endif /* __KERNEL__ */ #endif /* __KERNEL__ */

View File

@ -55,7 +55,6 @@ struct xfs_perag {
xfs_agino_t pagl_leftrec; xfs_agino_t pagl_leftrec;
xfs_agino_t pagl_rightrec; xfs_agino_t pagl_rightrec;
int pagb_count; /* pagb slots in use */
uint8_t pagf_refcount_level; /* recount btree height */ uint8_t pagf_refcount_level; /* recount btree height */
/* Blocks reserved for all kinds of metadata. */ /* Blocks reserved for all kinds of metadata. */