From 78905d7540c6689d4c780900f957318452aa316e Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Sat, 24 Apr 2021 17:13:39 -0400 Subject: [PATCH] Change cmd_dump to use FSCK_OPT_NO We just want cmd_dump to walk metadata, not fix errors - the mark and sweep code is being fixed to make sure it continues on error. --- cmd_debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd_debug.c b/cmd_debug.c index 9981adbf..4d66735c 100644 --- a/cmd_debug.c +++ b/cmd_debug.c @@ -115,7 +115,7 @@ int cmd_dump(int argc, char *argv[]) opt_set(opts, norecovery, true); opt_set(opts, degraded, true); opt_set(opts, errors, BCH_ON_ERROR_continue); - opt_set(opts, fix_errors, FSCK_OPT_YES); + opt_set(opts, fix_errors, FSCK_OPT_NO); while ((opt = getopt(argc, argv, "o:fvh")) != -1) switch (opt) {