Re: [PATCH 1/3] No need to special case ignoring of dmraid sets

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

 



ACK.

On 12/16/2009 10:31 AM, Hans de Goede wrote:
device.raidSet.name == device.name, so there is no need to specially
add it to ignore disks, this will only lead to the raidset name being
in ignoredDisks twice.
---
  storage/devicetree.py |    3 ---
  1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/storage/devicetree.py b/storage/devicetree.py
index 9f1f0b4..6c956fc 100644
--- a/storage/devicetree.py
+++ b/storage/devicetree.py
@@ -1384,9 +1384,6 @@ class DeviceTree(object):
                                     exists=False)
              else:
                  self._removeDevice(device)
-                if isinstance(device, DMRaidArrayDevice):
-                    # We should ignore the dmraid members as well
-                    self.addIgnoredDisk(device.raidSet.name)
                  self.addIgnoredDisk(device.name)
                  return


_______________________________________________
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