diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2020-02-19 17:02:15 -0800 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-06-01 21:16:37 -0700 |
commit | 5668e22f4bfb392aaf8babed83787faf055c02cb (patch) | |
tree | 21cb78538400c5068b0dbd3d1ce68e8f78114f31 /fs/xfs/scrub/repair.c | |
parent | 2a591297418b6f499acf322b537c5b27a3fe2298 (diff) |
xfs: update health status if we get a clean bill of healthindirect-health-reporting_2020-06-01
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/scrub/repair.c b/fs/xfs/scrub/repair.c index d59523685b64..4bbd8b5d1ef6 100644 --- a/fs/xfs/scrub/repair.c +++ b/fs/xfs/scrub/repair.c @@ -30,6 +30,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" |