chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf7825a
)
udev: path_id - fix by-path link generation for scm devices
author
Sebastian Ott
<sebott@linux.vnet.ibm.com>
Tue, 17 Sep 2013 17:16:08 +0000
(19:16 +0200)
committer
Kay Sievers
<kay@vrfy.org>
Tue, 17 Sep 2013 18:53:58 +0000
(13:53 -0500)
Set some_transport = true to prevent scm devices from being ignored.
Suggested-by: Harald Hoyer <harald@redhat.com>
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
src/udev/udev-builtin-path_id.c
patch
|
blob
|
history
diff --git
a/src/udev/udev-builtin-path_id.c
b/src/udev/udev-builtin-path_id.c
index da0273197bded6645cc0e4ceffe1b3ef1c6c134f..0659967c686818970a33d22f8f4eefc25fdbdd85 100644
(file)
--- a/
src/udev/udev-builtin-path_id.c
+++ b/
src/udev/udev-builtin-path_id.c
@@
-531,6
+531,7
@@
static int builtin_path_id(struct udev_device *dev, int argc, char *argv[], bool
} else if (streq(subsys, "scm")) {
path_prepend(&path, "scm-%s", udev_device_get_sysname(parent));
parent = skip_subsystem(parent, "scm");
+ some_transport = true;
}
parent = udev_device_get_parent(parent);