a4b143
From dd6fb603d74e958f6a24b07f8792f07a576111ee Mon Sep 17 00:00:00 2001
a4b143
From: Sebastian Ott <sebott@linux.vnet.ibm.com>
a4b143
Date: Tue, 17 Sep 2013 19:16:08 +0200
a4b143
Subject: [PATCH] udev: path_id - fix by-path link generation for scm devices
a4b143
a4b143
Set some_transport = true to prevent scm devices from being ignored.
a4b143
a4b143
Suggested-by: Harald Hoyer <harald@redhat.com>
a4b143
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
a4b143
---
a4b143
 src/udev/udev-builtin-path_id.c | 1 +
a4b143
 1 file changed, 1 insertion(+)
a4b143
a4b143
diff --git a/src/udev/udev-builtin-path_id.c b/src/udev/udev-builtin-path_id.c
a4b143
index da02731..0659967 100644
a4b143
--- a/src/udev/udev-builtin-path_id.c
a4b143
+++ b/src/udev/udev-builtin-path_id.c
a4b143
@@ -531,6 +531,7 @@ static int builtin_path_id(struct udev_device *dev, int argc, char *argv[], bool
a4b143
                 } else if (streq(subsys, "scm")) {
a4b143
                         path_prepend(&path, "scm-%s", udev_device_get_sysname(parent));
a4b143
                         parent = skip_subsystem(parent, "scm");
a4b143
+                        some_transport = true;
a4b143
                 }
a4b143
 
a4b143
                 parent = udev_device_get_parent(parent);