mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-14 19:24:13 +03:00
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>
This commit is contained in:
parent
bf7825ae69
commit
dd8b2bf433
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user