[PATCH 2/5] DMRaidArrayDevices exist when created (#558440)

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

 



DMRaidArrayDevice, used to inherit from DiskDevice, whose exists
init argument has a default of True. Now that it inherits from DMDevice
instead we must explicitly set exists to True when calling DMDevice.__init__ .
---
 storage/devices.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/storage/devices.py b/storage/devices.py
index 4d1305d..f0884ce 100644
--- a/storage/devices.py
+++ b/storage/devices.py
@@ -2871,7 +2871,7 @@ class DMRaidArrayDevice(DMDevice):
                     raise ValueError("parent devices must contain dmraidmember format")
         DMDevice.__init__(self, name, format=format, size=size,
                           major=major, minor=minor, parents=parents,
-                          sysfsPath=sysfsPath)
+                          sysfsPath=sysfsPath, exists=True)
 
         self.formatClass = get_device_format_class("dmraidmember")
         if not self.formatClass:
-- 
1.6.5.2

_______________________________________________
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