FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 03-10-2009, 10:55 PM
David Lehman
 
Default Destruction of the member device formatting will be handled elsewhere.

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@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 04:12 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org