diff options
author | Darrick J. Wong <djwong@kernel.org> | 2021-08-10 02:31:14 +0300 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-08-19 04:46:00 +0300 |
commit | 54406764c6a6ce6d7468934e09f0463e4e05433b (patch) | |
tree | c18806432cdd4838aac22f17738b92ddd634b8fb /fs/xfs/scrub/scrub.c | |
parent | 7e1826e05ba62e85fe110939a181c8f0d58c14cf (diff) | |
download | linux-54406764c6a6ce6d7468934e09f0463e4e05433b.tar.xz |
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>
Diffstat (limited to 'fs/xfs/scrub/scrub.c')
-rw-r--r-- | fs/xfs/scrub/scrub.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/xfs/scrub/scrub.c b/fs/xfs/scrub/scrub.c index 0e542636227c..1c65df8628ad 100644 --- a/fs/xfs/scrub/scrub.c +++ b/fs/xfs/scrub/scrub.c @@ -464,9 +464,6 @@ xfs_scrub_metadata( struct xfs_scrub sc = { .file = file, .sm = sm, - .sa = { - .agno = NULLAGNUMBER, - }, }; struct xfs_mount *mp = XFS_I(file_inode(file))->i_mount; int error = 0; |