[master 2/3] Only check disks for membership in a multipath.

dwlehman installerbot-noreply at redhat.com
Tue Jul 28 21:16:21 UTC 2015


From: David Lehman <dlehman at redhat.com>

---
 blivet/populator.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/blivet/populator.py b/blivet/populator.py
index 0b0729d..9f82e9f 100644
--- a/blivet/populator.py
+++ b/blivet/populator.py
@@ -1336,7 +1336,8 @@ def handleUdevDeviceFormat(self, info, device):
         format_type = udev.device_get_format(info)
         serial = udev.device_get_serial(info)
 
-        is_multipath_member = blockdev.mpath.is_mpath_member(device.path)
+        is_multipath_member = (device.isDisk and
+                               blockdev.mpath_is_mpath_member(device.path))
         if is_multipath_member:
             format_type = "multipath_member"
 


-- 
To view this commit on github, visit https://github.com/rhinstaller/blivet/commit/b931cc74f8da2d19c358e3e94bdebaf47f77c1df


More information about the anaconda-patches mailing list