chiark / gitweb /
udev: path_id - fix by-path link generation for scm devices
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Tue, 17 Sep 2013 17:16:08 +0000 (19:16 +0200)
committerKay 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

index da0273197bded6645cc0e4ceffe1b3ef1c6c134f..0659967c686818970a33d22f8f4eefc25fdbdd85 100644 (file)
@@ -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);