summaryrefslogtreecommitdiff
path: root/fs/xfs/scrub/quotacheck.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/scrub/quotacheck.h')
-rw-r--r--fs/xfs/scrub/quotacheck.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/xfs/scrub/quotacheck.h b/fs/xfs/scrub/quotacheck.h
index c2742791a7b3..bd998beb31c0 100644
--- a/fs/xfs/scrub/quotacheck.h
+++ b/fs/xfs/scrub/quotacheck.h
@@ -24,6 +24,9 @@ struct xqcheck_dquot {
/* Already checked this dquot */
#define XQCHECK_DQUOT_COMPARE_SCANNED (1U << 0)
+/* Already repaired this dquot */
+#define XQCHECK_DQUOT_REPAIR_SCANNED (1U << 1)
+
/* Live quotacheck control structure. */
struct xqcheck {
struct xfs_scrub *sc;
@@ -68,4 +71,7 @@ xqcheck_counters_for(
int xqcheck_get_shadow_dquot(struct xfarray *counts, xfs_dqid_t id,
struct xqcheck_dquot *xcdq);
+int xqcheck_update_incore_state(struct xqcheck *xqc, struct xfarray *counts,
+ xfs_dqid_t id, struct xqcheck_dquot *xcdq);
+
#endif /* __XFS_SCRUB_QUOTACHECK_H__ */