diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-02-19 05:18:08 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2022-02-19 05:18:08 -0500 |
commit | f85062409230ee9c0ce9e1a7bedb916006597e97 (patch) | |
tree | 78050a79b270a86bc767976644904f528e5032a7 /cmd_debug.c | |
parent | 6a935c784a2b040701728a9c7cb6140190d0b022 (diff) |
list_journal: tell recovery to only read the journal
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'cmd_debug.c')
-rw-r--r-- | cmd_debug.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd_debug.c b/cmd_debug.c index d871af07..63402554 100644 --- a/cmd_debug.c +++ b/cmd_debug.c @@ -574,6 +574,7 @@ int cmd_list_journal(int argc, char *argv[]) opt_set(opts, errors, BCH_ON_ERROR_continue); opt_set(opts, fix_errors, FSCK_OPT_YES); opt_set(opts, keep_journal, true); + opt_set(opts, read_journal_only,true); while ((opt = getopt(argc, argv, "ah")) != -1) switch (opt) { |