Re: [PATCH][f15, master] Do all dm handling inside addUdevDMDevice. (#672030)

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

 



On 02/19/2011 06:04 PM, David Lehman wrote:
---
  pyanaconda/storage/devicetree.py |    8 +-------
  1 files changed, 1 insertions(+), 7 deletions(-)

diff --git a/pyanaconda/storage/devicetree.py b/pyanaconda/storage/devicetree.py
index c74a23c..a57e5e1 100644
--- a/pyanaconda/storage/devicetree.py
+++ b/pyanaconda/storage/devicetree.py
@@ -954,13 +954,7 @@ class DeviceTree(object):
              device = self.addUdevLVDevice(info)
          elif udev_device_is_dm(info):
              log.debug("%s is a device-mapper device" % name)
-            # try to look up the device
-            if uuid:
-                # try to find the device by uuid
-                device = self.getDeviceByUuid(uuid)
-
-            if device is None:
-                device = self.addUdevDMDevice(info)
+            device = self.addUdevDMDevice(info)
          elif udev_device_is_md(info):
              log.debug("%s is an md device" % name)
              if uuid:

Ack.

Al_

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux