summaryrefslogtreecommitdiffstats
path: root/fs/xfs/scrub/rtsummary.c
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2023-10-18 19:28:10 +0200
committerDarrick J. Wong <djwong@kernel.org>2023-10-19 17:33:42 +0200
commite2cf427c91494ea0d1173a911090c39665c5fdef (patch)
treef58eb720f2329b6a3386cd1b4f11426ce3b4d074 /fs/xfs/scrub/rtsummary.c
parentxfs: simplify xfs_rtbuf_get calling conventions (diff)
downloadlinux-e2cf427c91494ea0d1173a911090c39665c5fdef.tar.xz
linux-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/rtsummary.c')
-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);