mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-03-10 00:00:04 +03:00
list_journal: tell recovery to only read the journal
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
This commit is contained in:
parent
6a935c784a
commit
f850624092
@ -574,6 +574,7 @@ int cmd_list_journal(int argc, char *argv[])
|
|||||||
opt_set(opts, errors, BCH_ON_ERROR_continue);
|
opt_set(opts, errors, BCH_ON_ERROR_continue);
|
||||||
opt_set(opts, fix_errors, FSCK_OPT_YES);
|
opt_set(opts, fix_errors, FSCK_OPT_YES);
|
||||||
opt_set(opts, keep_journal, true);
|
opt_set(opts, keep_journal, true);
|
||||||
|
opt_set(opts, read_journal_only,true);
|
||||||
|
|
||||||
while ((opt = getopt(argc, argv, "ah")) != -1)
|
while ((opt = getopt(argc, argv, "ah")) != -1)
|
||||||
switch (opt) {
|
switch (opt) {
|
||||||
|
Loading…
Reference in New Issue
Block a user