From e51f25af3cdd7eadc49a91ea4f5e48fb2759fc18 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Wed, 3 Jan 2024 23:14:28 -0500 Subject: [PATCH] fix list_journal for nochanges Signed-off-by: Kent Overstreet --- cmd_list_journal.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd_list_journal.c b/cmd_list_journal.c index b9381ef6..279afa79 100644 --- a/cmd_list_journal.c +++ b/cmd_list_journal.c @@ -228,6 +228,7 @@ int cmd_list_journal(int argc, char *argv[]) opt_set(opts, nochanges, true); opt_set(opts, norecovery, true); + opt_set(opts, read_only, true); opt_set(opts, degraded, true); opt_set(opts, errors, BCH_ON_ERROR_continue); opt_set(opts, fix_errors, FSCK_FIX_yes);