cmd_list: open with noxcl

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Kent Overstreet 2024-09-28 20:36:50 -04:00
parent bc5d903fda
commit 7a98f526b5

View File

@ -163,6 +163,7 @@ pub struct Cli {
fn cmd_list_inner(opt: &Cli) -> anyhow::Result<()> { fn cmd_list_inner(opt: &Cli) -> anyhow::Result<()> {
let mut fs_opts = bcachefs::bch_opts::default(); let mut fs_opts = bcachefs::bch_opts::default();
opt_set!(fs_opts, noexcl, 1);
opt_set!(fs_opts, nochanges, 1); opt_set!(fs_opts, nochanges, 1);
opt_set!(fs_opts, read_only, 1); opt_set!(fs_opts, read_only, 1);
opt_set!(fs_opts, norecovery, 1); opt_set!(fs_opts, norecovery, 1);