From 9a1e627a5deaf376dab1bf1074e26fe00ecf5ec9 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Wed, 27 Dec 2023 21:50:46 -0500 Subject: [PATCH] fix cmd_list for new nochanges semantics Signed-off-by: Kent Overstreet --- rust-src/src/cmd_list.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/rust-src/src/cmd_list.rs b/rust-src/src/cmd_list.rs index a6467ddb..5540514e 100644 --- a/rust-src/src/cmd_list.rs +++ b/rust-src/src/cmd_list.rs @@ -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);