summaryrefslogtreecommitdiff
path: root/fs/xfs/scrub/quotacheck.c
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-09-01 10:45:58 -0700
committerDarrick J. Wong <djwong@kernel.org>2021-10-22 16:40:38 -0700
commitf60230e90f3026cecdc3b0d78feb2de8b527c6de (patch)
treeaadfbc26294b6e34a30630f144f55c78369f9852 /fs/xfs/scrub/quotacheck.c
parent83f0a58ef5497701b25ad52b78f68e38b28fa413 (diff)
xfs: repair dquots based on live quotacheck resultsrepair-quota_2021-10-22
Use the shadow quota counters that live quotacheck creates to reset the incore dquot counters. Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/scrub/quotacheck.c')
-rw-r--r--fs/xfs/scrub/quotacheck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/scrub/quotacheck.c b/fs/xfs/scrub/quotacheck.c
index f52cd7e1bb36..3c19bc157a03 100644
--- a/fs/xfs/scrub/quotacheck.c
+++ b/fs/xfs/scrub/quotacheck.c
@@ -517,7 +517,7 @@ xqcheck_collect_counts(
}
/* Update an incore dquot state flags. */
-static int
+int
xqcheck_update_incore_state(
struct xqcheck *xqc,
struct xfarray *counts,