summaryrefslogtreecommitdiff
path: root/fs/xfs/scrub/rtbitmap.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2020-03-16 16:33:22 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2020-06-24 18:12:18 -0700
commitbc8c5193ccdb9c8d79eb10e5e28b5a7275ea9db7 (patch)
tree144c2575630801013e38e1f6a69cd4e6a633c59b /fs/xfs/scrub/rtbitmap.c
parent59e5f36653584f5ac79afb987af47d4feeeca85e (diff)
xfs: implement online scrubbing of rtsummary infoscrub-rtsummary_2020-06-24
Finish the realtime summary scrubber by adding the functions we need to compute a fresh copy of the rtsummary info and comparing it to the copy on disk. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/scrub/rtbitmap.c')
-rw-r--r--fs/xfs/scrub/rtbitmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/scrub/rtbitmap.c b/fs/xfs/scrub/rtbitmap.c
index cd50bf2f863c..47260724645b 100644
--- a/fs/xfs/scrub/rtbitmap.c
+++ b/fs/xfs/scrub/rtbitmap.c
@@ -19,13 +19,13 @@
/* Set us up with the realtime metadata locked. */
int
-xchk_setup_rt(
+xchk_setup_rtbitmap(
struct xfs_scrub *sc,
struct xfs_inode *ip)
{
int error;
- error = xchk_setup_fs(sc, ip);
+ error = xchk_trans_alloc(sc, 0);
if (error)
return error;