summaryrefslogtreecommitdiff
path: root/fs/xfs/scrub/repair.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2019-08-30 15:45:13 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2019-10-19 10:39:13 -0700
commit71df78321e177737947286e9314dff05abd34597 (patch)
tree8d01ba2615ab864fb675e84ee943693ebf7905ed /fs/xfs/scrub/repair.c
parent2e3773dc374b4a42ea990531ebeb6b39f5aa107c (diff)
xfs: update health status if we get a clean bill of healthindirect-health-reporting_2019-10-19
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 <darrick.wong@oracle.com>
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 6f13c9874224..5d1c8d8aba89 100644
--- a/fs/xfs/scrub/repair.c
+++ b/fs/xfs/scrub/repair.c
@@ -29,6 +29,7 @@
#include "xfs_extfree_item.h"
#include "xfs_attr.h"
#include "xfs_reflink.h"
+#include "xfs_health.h"
#include "scrub/scrub.h"
#include "scrub/common.h"
#include "scrub/trace.h"