From: Christoph Hellwig Date: Mon, 25 Nov 2024 21:14:11 +0000 (-0800) Subject: xfs: remove the unused pagb_count field in struct xfs_perag X-Git-Tag: v6.13.0~210 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=969625bf3c64a9c5e54df10252838ab8ed12089a;p=xfsprogs-dev.git xfs: remove the unused pagb_count field in struct xfs_perag Source kernel commit: 4e071d79e477189a6c318f598634799e50921994 Signed-off-by: Christoph Hellwig Reviewed-by: Darrick J. Wong Signed-off-by: Darrick J. Wong Reviewed-by: Christoph Hellwig --- diff --git a/libxfs/xfs_ag.c b/libxfs/xfs_ag.c index 79ee483b4..975b139ca 100644 --- a/libxfs/xfs_ag.c +++ b/libxfs/xfs_ag.c @@ -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__ */ diff --git a/libxfs/xfs_ag.h b/libxfs/xfs_ag.h index 9edfe0e96..79149a5ec 100644 --- a/libxfs/xfs_ag.h +++ b/libxfs/xfs_ag.h @@ -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. */