]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - cmd_list_journal.c
cmd_mount: Use noxcl for opening block devices
[bcachefs-tools-debian] / 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);