Commit 8652b35
udev: don't spread variables through all nodes
NVME_HOST_IFACE=none is being set to every existing node device but this
shouldn't be done, we don't want this in /dev/peanutbutter.
To quick check this error just launch "udevadm trigger" and then
"udevadm info" any dev node you want, the variable will be set for all
the nodes. The easier way to understand this /dev/zero, /dev/null,
/dev/random has nothing to do with this variable.
To solve this a condition to only apply for the nvme subsystem is added
as is the only subsystem later check for this variable to be present.
While at it remove all the action change conditions that are always true
given the if it's any other kind of action a goto end in the beginning.
Signed-off-by: David Santamaría Rogado <[email protected]>1 parent 046b9e2 commit 8652b35
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
0 commit comments