summaryrefslogtreecommitdiff
path: root/src/udev
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.vnet.ibm.com>2013-09-17 19:16:08 +0200
committerKay Sievers <kay@vrfy.org>2013-09-17 13:53:58 -0500
commitdd8b2bf433a42683380b6fa041660dd92f91b6a9 (patch)
tree90e386b9ffa41f9185cfa0b04fc91c47786e8939 /src/udev
parentbf7825ae69f53a7e80a740547919833e49ed1df4 (diff)
udev: path_id - fix by-path link generation for scm devices
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>
Diffstat (limited to 'src/udev')
-rw-r--r--src/udev/udev-builtin-path_id.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/udev/udev-builtin-path_id.c b/src/udev/udev-builtin-path_id.c
index da0273197b..0659967c68 100644
--- 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);