summaryrefslogtreecommitdiffstats
path: root/fs/xfs/scrub
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2023-10-18 10:28:10 -0700
committerDarrick J. Wong <djwong@kernel.org>2023-10-19 08:33:42 -0700
commite2cf427c91494ea0d1173a911090c39665c5fdef (patch)
treef58eb720f2329b6a3386cd1b4f11426ce3b4d074 /fs/xfs/scrub
parent5b1d0ae9753f0654ab56c1e06155b3abf2919d71 (diff)
downloadlinux-stable-e2cf427c91494ea0d1173a911090c39665c5fdef.tar.gz
linux-stable-e2cf427c91494ea0d1173a911090c39665c5fdef.tar.bz2
linux-stable-e2cf427c91494ea0d1173a911090c39665c5fdef.zip
xfs: simplify rt bitmap/summary block accessor functions
Simplify the calling convention of these functions since the xfs_rtalloc_args structure contains the parameters we need. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/scrub')
-rw-r--r--fs/xfs/scrub/rtsummary.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/scrub/rtsummary.c b/fs/xfs/scrub/rtsummary.c
index cc5ae050dfb2..8b15c47408d0 100644
--- a/fs/xfs/scrub/rtsummary.c
+++ b/fs/xfs/scrub/rtsummary.c
@@ -231,7 +231,7 @@ xchk_rtsum_compare(
return error;
}
- ondisk_info = xfs_rsumblock_infoptr(args.sumbp, 0);
+ ondisk_info = xfs_rsumblock_infoptr(&args, 0);
if (memcmp(ondisk_info, sc->buf,
mp->m_blockwsize << XFS_WORDLOG) != 0)
xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, off);