Mailinglist Archive: yast-commit (953 mails)

< Previous Next >
[yast-commit] r49711 - /trunk/storage/libstorage/src/Storage.cc
  • From: aschnell@xxxxxxxxxxxxxxxx
  • Date: Tue, 05 Aug 2008 13:16:15 -0000
  • Message-id: <20080805131615.B548239CB8@xxxxxxxxxxxxxxxx>
Author: aschnell
Date: Tue Aug 5 15:16:15 2008
New Revision: 49711

URL: http://svn.opensuse.org/viewcvs/yast?rev=49711&view=rev
Log:
- removed more evms handling

Modified:
trunk/storage/libstorage/src/Storage.cc

Modified: trunk/storage/libstorage/src/Storage.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/storage/libstorage/src/Storage.cc?rev=49711&r1=49710&r2=49711&view=diff
==============================================================================
--- trunk/storage/libstorage/src/Storage.cc (original)
+++ trunk/storage/libstorage/src/Storage.cc Tue Aug 5 15:16:15 2008
@@ -3714,14 +3714,13 @@

bool Storage::removeDmMapsTo( const string& dev )
{
- bool also_evms = false;
bool ret = false;
- y2milestone( "dev:%s also_evms:%d", dev.c_str(), also_evms );
+ y2mil("dev:" << dev);
VPair vp = vPair( isDmContainer );
for( VolIterator v=vp.begin(); v!=vp.end(); ++v )
{
Dm * dm = dynamic_cast<Dm *>(&(*v));
- if( (also_evms||v->getUsedByType()!=UB_EVMS) && dm!=NULL )
+ if (dm != NULL)
{
y2mil( "dm:" << *dm );
if( dm->mapsTo( dev ) )
@@ -3735,7 +3734,7 @@
ret = true;
}
}
- else if( dm==NULL )
+ else
y2warning( "not a Dm descendant %s", v->device().c_str() );
}
VolIterator v;

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages