diff options
author | Darrick J. Wong <djwong@kernel.org> | 2023-10-18 19:28:10 +0200 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2023-10-19 17:33:42 +0200 |
commit | e2cf427c91494ea0d1173a911090c39665c5fdef (patch) | |
tree | f58eb720f2329b6a3386cd1b4f11426ce3b4d074 /fs/xfs/scrub/rtsummary.c | |
parent | xfs: simplify xfs_rtbuf_get calling conventions (diff) | |
download | linux-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.c | 2 |
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); |