[rhel7-branch 1/1] Pass a sysfs path to MultipathDevice constructor (#1245201)
rvykydal
installerbot-noreply at redhat.com
Thu Jul 30 10:00:17 UTC 2015
From: Radek Vykydal <rvykydal at redhat.com>
Cherry pick of master
commit d2a27294a05b0c34bb6a69d3393cda1d17ae0a7
Resolves: rhbz#1245201
---
blivet/devicetree.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/blivet/devicetree.py b/blivet/devicetree.py
index fed90f7..549a322 100644
--- a/blivet/devicetree.py
+++ b/blivet/devicetree.py
@@ -856,6 +856,7 @@ def addUdevMultiPathDevice(self, info):
raise DeviceTreeError("multipath %s has no DM_UUID" % name)
device = MultipathDevice(name, parents=slave_devs,
+ sysfsPath=udev.device_get_sysfs_path(info),
serial=serial)
self._addDevice(device)
--
To view this commit on github, visit https://github.com/rhinstaller/blivet/commit/ffc7509b3ea09650f48e023c6ac058cca9f46d07
More information about the anaconda-patches
mailing list