[rhel6-branch] Fix format.majorminor caching.

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

 



0edfaf507967f0c1f35b9ce2da12672ec0904948 misses that on rhel6-branch the
StorageDevice.teardown() *is not* called by most of the device-specific
teardown() methods.

Related: rhbz#731973
---
 storage/devices.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/storage/devices.py b/storage/devices.py
index 864d37b..0450ceb 100644
--- a/storage/devices.py
+++ b/storage/devices.py
@@ -2981,6 +2981,7 @@ class MDRaidArrayDevice(StorageDevice):
         if self.status:
             if self.originalFormat.exists:
                 self.originalFormat.teardown()
+            self.format.cacheMajorminor()
             if self.format.exists:
                 self.format.teardown()
             udev_settle()
-- 
1.7.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