summaryrefslogtreecommitdiff
path: root/fs/xfs/scrub/nlinks.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/scrub/nlinks.h')
-rw-r--r--fs/xfs/scrub/nlinks.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/xfs/scrub/nlinks.h b/fs/xfs/scrub/nlinks.h
index 69cf556b15a3..46baef3c2237 100644
--- a/fs/xfs/scrub/nlinks.h
+++ b/fs/xfs/scrub/nlinks.h
@@ -81,9 +81,12 @@ struct xchk_nlink {
*/
#define XCHK_NLINK_WRITTEN (1U << 0)
-/* This data item was seen by the check-time compare function. */
+/* Already checked this link count record. */
#define XCHK_NLINK_COMPARE_SCANNED (1U << 1)
+/* Already made a repair with this link count record. */
+#define XREP_NLINK_DIRTY (1U << 2)
+
/* Compute total link count, using large enough variables to detect overflow. */
static inline uint64_t
xchk_nlink_total(const struct xchk_nlink *live)