Author: fehr
Date: Wed Feb 13 19:07:53 2008
New Revision: 44433
URL: http://svn.opensuse.org/viewcvs/yast?rev=44433&view=rev
Log:
fix bug during sync between EVMS and LVM container (#354415)
Modified:
trunk/storage/libstorage/src/Storage.cc
trunk/storage/package/yast2-storage.changes
Modified: trunk/storage/libstorage/src/Storage.cc
URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/libstorage/src/Storage.cc?rev=44433&r1=44432&r2=44433&view=diff
==============================================================================
--- trunk/storage/libstorage/src/Storage.cc (original)
+++ trunk/storage/libstorage/src/Storage.cc Wed Feb 13 19:07:53 2008
@@ -2857,6 +2857,35 @@
}
++vi;
}
+ ep = evCoPair(evmsCo);
+ coi = ep.begin();
+ list<string> rem_co;
+ while( coi!=ep.end())
+ {
+ if( coi->name().find( "lvm/" )==0 ||
+ coi->name().find( "lvm2/" )==0 )
+ {
+ string n = coi->name();
+ y2mil("n:"<deleted())
+ rem_co.push_back( coi->device() );
+ }
+ ++coi;
+ }
+ if( rem_co.size()>0 )
+ {
+ y2mil("rem_co:" << rem_co);
+ for( list<string>::iterator s = rem_co.begin();
+ s!=rem_co.end(); s++ )
+ {
+ ContIterator cc;
+ if( findContainer( *s, cc ))
+ removeContainer( &(*cc) );
+ }
+ }
std::map::iterator i=backups.find("initial");
if( !evCoPair().empty() && i!=backups.end() )
{
Modified: trunk/storage/package/yast2-storage.changes
URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/package/yast2-storage.changes?rev=44433&r1=44432&r2=44433&view=diff
==============================================================================
--- trunk/storage/package/yast2-storage.changes (original)
+++ trunk/storage/package/yast2-storage.changes Wed Feb 13 19:07:53 2008
@@ -1,4 +1,9 @@
-------------------------------------------------------------------
+Wed Feb 13 19:04:56 CET 2008 - fehr@suse.de
+
+- fix bug during sync between EVMS and LVM container (#354415)
+
+-------------------------------------------------------------------
Thu Feb 7 19:17:31 CET 2008 - fehr@suse.de
- add key sb_ver with version of raid superblock to md maps (#357897)
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org