Skip to content

Commit

Permalink
Revert "allow polling single-device md devices (#488)"
Browse files Browse the repository at this point in the history
This reverts commit 16d9166.
  • Loading branch information
HippoBaro committed Jan 6, 2022
1 parent 070b4b5 commit 1180325
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glommio/src/sys/sysfs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ impl BlockDevice {
}

pub(crate) fn is_md(major: usize, minor: usize) -> bool {
block_property!(DEV_MAP, subcomponents, major, minor).len() > 1
!block_property!(DEV_MAP, subcomponents, major, minor).is_empty()
}
}

Expand Down

0 comments on commit 1180325

Please sign in to comment.