From 051c747b550341dbe495faf7afc5dc238bcb9858 Mon Sep 17 00:00:00 2001 From: "Darrick J. Wong" Date: Wed, 27 Mar 2019 17:02:51 -0700 Subject: xfs: update health status if we get a clean bill of health If scrub finds that everything is ok with the filesystem, we need a way to tell the health tracking that it can let go of indirect health flags, since indirect flags only mean that at some point in the past we lost some context. Signed-off-by: Darrick J. Wong --- fs/xfs/scrub/common.h | 1 + 1 file changed, 1 insertion(+) (limited to 'fs/xfs/scrub/common.h') diff --git a/fs/xfs/scrub/common.h b/fs/xfs/scrub/common.h index 8646ee27d667..626fa3e05557 100644 --- a/fs/xfs/scrub/common.h +++ b/fs/xfs/scrub/common.h @@ -39,6 +39,7 @@ void xchk_block_set_preen(struct xfs_scrub *sc, struct xfs_buf *bp); void xchk_ino_set_preen(struct xfs_scrub *sc, xfs_ino_t ino); +void xchk_set_corrupt(struct xfs_scrub *sc); void xchk_block_set_corrupt(struct xfs_scrub *sc, struct xfs_buf *bp); void xchk_ino_set_corrupt(struct xfs_scrub *sc, xfs_ino_t ino); -- cgit v1.2.3