]> git.sesse.net Git - bcachefs-tools-debian/commitdiff
fix cmd_list for new nochanges semantics
authorKent Overstreet <kent.overstreet@linux.dev>
Thu, 28 Dec 2023 02:50:46 +0000 (21:50 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Thu, 28 Dec 2023 02:50:46 +0000 (21:50 -0500)
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
rust-src/src/cmd_list.rs

index a6467ddb6165151eed149eca8413e12fbd0bf275..5540514e6b42a2cf771bf067a4de017e538673bf 100644 (file)
@@ -134,6 +134,7 @@ fn cmd_list_inner(opt: Cli) -> anyhow::Result<()> {
     let mut fs_opts: bcachefs::bch_opts = Default::default();
 
     opt_set!(fs_opts, nochanges,        1);
+    opt_set!(fs_opts, read_only,        1);
     opt_set!(fs_opts, norecovery,       1);
     opt_set!(fs_opts, degraded,         1);
     opt_set!(fs_opts, errors,           bcachefs::bch_error_actions::BCH_ON_ERROR_continue as u8);