summaryrefslogtreecommitdiff
path: root/fs/xfs/scrub/common.c
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2024-04-16 00:54:33 +0300
committerDarrick J. Wong <djwong@kernel.org>2024-04-16 00:58:49 +0300
commitabf039e2e4afde98e448253f9a7ecc784a87924d (patch)
tree327aad3e389a2389565f9e77178783c47c50aae3 /fs/xfs/scrub/common.c
parent56596d8bffd2f3c80d9844835e6c118d89b67ca9 (diff)
downloadlinux-abf039e2e4afde98e448253f9a7ecc784a87924d.tar.xz
xfs: online repair of realtime summaries
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> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/scrub/common.c')
-rw-r--r--fs/xfs/scrub/common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/scrub/common.c b/fs/xfs/scrub/common.c
index a27d33b6f464..a2da2bef509a 100644
--- a/fs/xfs/scrub/common.c
+++ b/fs/xfs/scrub/common.c
@@ -31,6 +31,7 @@
#include "xfs_ag.h"
#include "xfs_error.h"
#include "xfs_quota.h"
+#include "xfs_exchmaps.h"
#include "scrub/scrub.h"
#include "scrub/common.h"
#include "scrub/trace.h"