diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-04-26 05:18:40 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-04-26 07:50:25 +0200 |
commit | fc73d971822afaea29bdaeec054e90a4885d0cce (patch) | |
tree | e96c68faa5c09981926c01f76e0e53ba70a63392 /rules.d | |
parent | udev/iocost: use ID_MODEL_FROM_DATABASE if exists (diff) | |
download | systemd-fc73d971822afaea29bdaeec054e90a4885d0cce.tar.xz systemd-fc73d971822afaea29bdaeec054e90a4885d0cce.zip |
udev/iocost: invert DEVTYPE match
No functional change, just refactoring.
Addresses https://github.com/systemd/systemd/pull/23325#discussion_r1171006967.
Diffstat (limited to 'rules.d')
-rw-r--r-- | rules.d/90-iocost.rules | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/rules.d/90-iocost.rules b/rules.d/90-iocost.rules index 6c31cae56b..34311ded6d 100644 --- a/rules.d/90-iocost.rules +++ b/rules.d/90-iocost.rules @@ -8,9 +8,7 @@ # (at your option) any later version. SUBSYSTEM!="block", GOTO="iocost_end" - -ENV{DEVTYPE}=="partition", GOTO="iocost_end" - +ENV{DEVTYPE}!="disk", GOTO="iocost_end" ACTION=="remove", GOTO="iocost_end" ENV{.MODEL}="" |