]> git.sesse.net Git - bcachefs-tools-debian/commitdiff
fix list_journal for nochanges
authorKent Overstreet <kent.overstreet@linux.dev>
Thu, 4 Jan 2024 04:14:28 +0000 (23:14 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Thu, 4 Jan 2024 04:14:56 +0000 (23:14 -0500)
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
cmd_list_journal.c

index b9381ef6348ad03b829e389a8210baee109cd755..279afa79a37e3cf906a98d455e557aad22c81cb3 100644 (file)
@@ -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);