summaryrefslogtreecommitdiff
path: root/fs/xfs/scrub/repair.c
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2022-07-14 11:06:53 -0700
committerDarrick J. Wong <djwong@kernel.org>2022-11-09 19:07:41 -0800
commit6f8e90c16688581aeff379d2c3370dc57b0237c4 (patch)
tree72aa4520dcc2e9a93dce144b9aaec38ada9243c6 /fs/xfs/scrub/repair.c
parent85bb2302750fc8105aff6488d554c950db57c073 (diff)
xfs: online repair of realtime summariesrepair-rtsummary_2022-11-09
Repair the realtime summary data by constructing a new rtsummary file in the scrub temporary file, then atomically swapping the contents. 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 56422e5bde38..987aa59dd7f0 100644
--- a/fs/xfs/scrub/repair.c
+++ b/fs/xfs/scrub/repair.c
@@ -36,6 +36,7 @@
#include "scrub/trace.h"
#include "scrub/repair.h"
#include "scrub/bitmap.h"
+#include "scrub/xfile.h"
/*
* Attempt to repair some metadata, if the metadata is corrupt and userspace