[PATCH] Destruction of the member device formatting will be handled elsewhere.

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

 



Even though destruction of the array is dependent upon the destruction
of the member devices' metadata, we screw everything up if we try to
reach down and do from here. If actions are scheduled correctly we
will not have any problems.
---
 storage/devices.py |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/storage/devices.py b/storage/devices.py
index 678ed62..be604f5 100644
--- a/storage/devices.py
+++ b/storage/devices.py
@@ -2134,10 +2134,9 @@ class MDRaidArrayDevice(StorageDevice):
             self.format.destroy()
 
         self.teardown()
-        # destruction of the formats on members will destroy the array
-        for disk in self.devices:
-            disk.format.destroy()
 
+        # The destruction of the formatting on the member devices does the
+        # real work, but it isn't our place to do it from here.
         self.exists = False
 
 
-- 
1.6.0.6

_______________________________________________
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