[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH] Ignore unrecognized device-mapper devices we find. (#499967)



---
 storage/devicetree.py |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/storage/devicetree.py b/storage/devicetree.py
index 3837b45..32d2103 100644
--- a/storage/devicetree.py
+++ b/storage/devicetree.py
@@ -951,9 +951,7 @@ class DeviceTree(object):
             # something must be wrong -- if all of the slaves are in
             # the tree, this device should be as well
             if device is None:
-                log.warning("using generic DM device for %s" % name)
-                device = DMDevice(name, exists=True, parents=slaves)
-                self._addDevice(device)
+                log.warning("ignoring dm device %s" % name)
 
         return device
 
-- 
1.6.0.6


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]