summaryrefslogtreecommitdiff
path: root/src/commands/cmd_list.rs
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-03-30 22:08:43 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2024-03-30 22:09:06 -0400
commit6e50a9b4fc35852b35a407ebf934a53edd8c605f (patch)
treea963c4bcd5f9bb7c1e9d3a97b003ea705c86f330 /src/commands/cmd_list.rs
parent8e02744a90673d9e4ea06cfa0ff123e7bada962f (diff)
cmd_list, cmd_list_journal: pass -o very_degraded
Diffstat (limited to 'src/commands/cmd_list.rs')
-rw-r--r--src/commands/cmd_list.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/commands/cmd_list.rs b/src/commands/cmd_list.rs
index 442fdd62..8af075af 100644
--- a/src/commands/cmd_list.rs
+++ b/src/commands/cmd_list.rs
@@ -135,6 +135,7 @@ fn cmd_list_inner(opt: Cli) -> anyhow::Result<()> {
opt_set!(fs_opts, read_only, 1);
opt_set!(fs_opts, norecovery, 1);
opt_set!(fs_opts, degraded, 1);
+ opt_set!(fs_opts, very_degraded, 1);
opt_set!(fs_opts, errors, bcachefs::bch_error_actions::BCH_ON_ERROR_continue as u8);
if opt.fsck {