device_scan: Don't use read_super_silent when opening manual list of devs

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Kent Overstreet 2025-11-30 12:01:33 -05:00
parent e1674f3b12
commit 0532e81278

View File

@ -169,7 +169,7 @@ pub fn scan_sbs(device: &String, opts: &bch_opts) -> Result<Vec<(PathBuf, bch_sb
.collect::<Vec<_>>();
let sbs = devices
.iter()
.map(|path| read_super_silent(path, *opts))
.map(|path| bch_bindgen::sb_io::read_super_opts(path.as_ref(), *opts))
.collect::<Result<Vec<_>>>()?;
Ok(devices.iter().zip(sbs.iter())