udev/iocost: invert DEVTYPE match
No functional change, just refactoring. Addresses https://github.com/systemd/systemd/pull/23325#discussion_r1171006967.
This commit is contained in:
@@ -8,9 +8,7 @@
|
|||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
SUBSYSTEM!="block", GOTO="iocost_end"
|
SUBSYSTEM!="block", GOTO="iocost_end"
|
||||||
|
ENV{DEVTYPE}!="disk", GOTO="iocost_end"
|
||||||
ENV{DEVTYPE}=="partition", GOTO="iocost_end"
|
|
||||||
|
|
||||||
ACTION=="remove", GOTO="iocost_end"
|
ACTION=="remove", GOTO="iocost_end"
|
||||||
|
|
||||||
ENV{.MODEL}=""
|
ENV{.MODEL}=""
|
||||||
|
|||||||
Reference in New Issue
Block a user