diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-03 23:14:28 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-03 23:14:56 -0500 |
commit | e51f25af3cdd7eadc49a91ea4f5e48fb2759fc18 (patch) | |
tree | ef0e69c0ecc132d141e052b428572b9771f86b2c | |
parent | 1f79cf3825e94fcb146d417b6dda9b94c93c7a53 (diff) |
fix list_journal for nochanges
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
-rw-r--r-- | cmd_list_journal.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |