summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.vnet.ibm.com>2013-09-17 19:16:08 +0200
committerAnthony G. Basile <blueness@gentoo.org>2014-01-09 18:46:00 -0500
commit15ac5057b227f0a9451403f45383a419c87d753c (patch)
tree06fdbeb4e56d9b23bf830576fa4e86397c525a9e
parent86c525451163f8f3cef927e9c74b94892e053b7a (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> Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
-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 f85b091763..baa49478d4 100644
--- a/src/udev/udev-builtin-path_id.c
+++ b/src/udev/udev-builtin-path_id.c
@@ -532,6 +532,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);