]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commitdiff
xfs: remove the unused pagb_count field in struct xfs_perag
authorChristoph Hellwig <hch@lst.de>
Mon, 25 Nov 2024 21:14:11 +0000 (13:14 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 24 Dec 2024 02:01:23 +0000 (18:01 -0800)
Source kernel commit: 4e071d79e477189a6c318f598634799e50921994

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>
Reviewed-by: Christoph Hellwig <hch@lst.de>
libxfs/xfs_ag.c
libxfs/xfs_ag.h

index 79ee483b42695a1755c8c30de100bf793ccab422..975b139ca497a295a23066f82a599b28a437feb7 100644 (file)
@@ -325,7 +325,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. */