summaryrefslogtreecommitdiff
path: root/fs/xfs/scrub/repair.c
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-09-01 10:46:47 -0700
committerDarrick J. Wong <djwong@kernel.org>2021-10-22 16:40:40 -0700
commite1d5e23e0740c78889de079ff18bb92f90781627 (patch)
tree738f8ca7687279583ee0be7db878b5d891bb9202 /fs/xfs/scrub/repair.c
parentf8a9105bd2c6451d27ac305898baf5a6a877b79a (diff)
xfs: update health status if we get a clean bill of healthindirect-health-reporting_2021-10-22
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 <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/scrub/repair.c')
-rw-r--r--fs/xfs/scrub/repair.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/scrub/repair.c b/fs/xfs/scrub/repair.c
index 35a4842e0f81..c55f1b79d125 100644
--- a/fs/xfs/scrub/repair.c
+++ b/fs/xfs/scrub/repair.c
@@ -36,6 +36,7 @@
#include "xfs_defer.h"
#include "xfs_extfree_item.h"
#include "xfs_reflink.h"
+#include "xfs_health.h"
#include "scrub/scrub.h"
#include "scrub/common.h"
#include "scrub/trace.h"