]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
xfs: remove the unused pagb_count field in struct xfs_perag
authorChristoph Hellwig <hch@lst.de>
Mon, 4 Nov 2024 04:18:25 +0000 (20:18 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 5 Nov 2024 21:38:23 +0000 (13:38 -0800)
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>
fs/xfs/libxfs/xfs_ag.c
fs/xfs/libxfs/xfs_ag.h

index 5ca8d01068273dbdfd8c1326701a6be7d4df0244..1b6027ad9ce5f66565ab6a7270efc7dfa4eff5e0 100644 (file)
@@ -327,7 +327,6 @@ xfs_initialize_perag(
                xfs_defer_drain_init(&pag->pag_intents_drain);
                init_waitqueue_head(&pag->pagb_wait);
                init_waitqueue_head(&pag->pag_active_wq);
-               pag->pagb_count = 0;
                pag->pagb_tree = RB_ROOT;
                xfs_hooks_init(&pag->pag_rmap_update_hooks);
 #endif /* __KERNEL__ */
index 9edfe0e9643964ab2d762b51b98347507cb7db46..79149a5ec44e9a8e2305f022a95a25f90be1f75c 100644 (file)
@@ -55,7 +55,6 @@ struct xfs_perag {
        xfs_agino_t     pagl_leftrec;
        xfs_agino_t     pagl_rightrec;
 
-       int             pagb_count;     /* pagb slots in use */
        uint8_t         pagf_refcount_level; /* recount btree height */
 
        /* Blocks reserved for all kinds of metadata. */