Author: aschnell
Date: Mon Feb 1 15:21:59 2010
New Revision: 60638
URL: http://svn.opensuse.org/viewcvs/yast?rev=60638&view=rev
Log:
- avoid reading udev links if no MdParts are found
Modified:
branches/SuSE-Code-11-SP1-Branch/storage/libstorage/src/Storage.cc
Modified: branches/SuSE-Code-11-SP1-Branch/storage/libstorage/src/Storage.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/storage/libstorage/src/Storage.cc?rev=60638&r1=60637&r2=60638&view=diff
==============================================================================
--- branches/SuSE-Code-11-SP1-Branch/storage/libstorage/src/Storage.cc (original)
+++ branches/SuSE-Code-11-SP1-Branch/storage/libstorage/src/Storage.cc Mon Feb 1 15:21:59 2010
@@ -447,7 +447,9 @@
{
list<string> l = MdPartCo::getMdRaids();
list<string> mdpartlist = MdPartCo::filterMdPartCo(l,ppart, instsys());
- //
+
+ if (!mdpartlist.empty())
+ {
map