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

[PATCH 2/9] Clear partitions before scheduling requests.



Otherwise, our scheduling requests will get purged by the action loop
detector.
---
 kickstart.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/kickstart.py b/kickstart.py
index 9c106a3..b22c5ef 100644
--- a/kickstart.py
+++ b/kickstart.py
@@ -18,6 +18,8 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 
+from storage.partitioning import clearPartitions
+
 from errors import *
 import iutil
 import isys
@@ -243,6 +245,8 @@ class ClearPart(commands.clearpart.FC3_ClearPart):
         if self.initAll:
             self.handler.id.storage.reinitializeDisks = self.initAll
 
+        clearPartitions(self.handler.id.storage)
+
         return retval
 
 class Firewall(commands.firewall.F10_Firewall):
-- 
1.6.1.3


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