mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-03-10 00:00:04 +03:00
refactor: fix clippy lint
Signed-off-by: Thomas Mühlbacher <tmuehlbacher@posteo.net>
This commit is contained in:
parent
7c68f2758d
commit
cdcc241167
@ -361,7 +361,7 @@ fn cmd_mount_inner(cli: &Cli) -> Result<()> {
|
|||||||
|
|
||||||
let first_sb = &sbs[0];
|
let first_sb = &sbs[0];
|
||||||
if unsafe { bcachefs::bch2_sb_is_encrypted(first_sb.sb) } {
|
if unsafe { bcachefs::bch2_sb_is_encrypted(first_sb.sb) } {
|
||||||
handle_unlock(cli, &first_sb)?;
|
handle_unlock(cli, first_sb)?;
|
||||||
}
|
}
|
||||||
|
|
||||||
for sb in &mut sbs {
|
for sb in &mut sbs {
|
||||||
|
Loading…
Reference in New Issue
Block a user