xfs: remove unnecessary agno variable from struct xchk_ag
authorDarrick J. Wong <djwong@kernel.org>
Mon, 9 Aug 2021 23:31:14 +0000 (16:31 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 19 Aug 2021 01:46:00 +0000 (18:46 -0700)
commit54406764c6a6ce6d7468934e09f0463e4e05433b
treec18806432cdd4838aac22f17738b92ddd634b8fb
parent7e1826e05ba62e85fe110939a181c8f0d58c14cf
xfs: remove unnecessary agno variable from struct xchk_ag

Now that we always grab an active reference to a perag structure when
dealing with perag metadata, we can remove this unnecessary variable.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/scrub/agheader.c
fs/xfs/scrub/agheader_repair.c
fs/xfs/scrub/common.c
fs/xfs/scrub/repair.c
fs/xfs/scrub/scrub.c
fs/xfs/scrub/scrub.h