mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-02 00:00:03 +03:00
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.
This commit is contained in:
parent
cb84ad03a5
commit
78905d7540
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user