From: Kent Overstreet Date: Thu, 4 Jan 2024 04:14:28 +0000 (-0500) Subject: fix list_journal for nochanges X-Git-Url: https://git.sesse.net/?p=bcachefs-tools-debian;a=commitdiff_plain;h=e51f25af3cdd7eadc49a91ea4f5e48fb2759fc18 fix list_journal for nochanges Signed-off-by: Kent Overstreet --- diff --git a/cmd_list_journal.c b/cmd_list_journal.c index b9381ef..279afa7 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);