Mailinglist Archive: yast-commit (759 mails)

< Previous Next >
[yast-commit] r45164 - in /trunk/storage: libstorage/src/Volume.cc package/yast2-storage.changes
  • From: fehr@xxxxxxxxxxxxxxxx
  • Date: Mon, 03 Mar 2008 15:29:30 -0000
  • Message-id: <20080303152931.4AAD724907@xxxxxxxxxxxxxxxx>
Author: fehr
Date: Mon Mar 3 16:29:29 2008
New Revision: 45164

URL: http://svn.opensuse.org/viewcvs/yast?rev=45164&view=rev
Log:
fix detection of existing encrypted loop devices to have correct encryption
type set

Modified:
trunk/storage/libstorage/src/Volume.cc
trunk/storage/package/yast2-storage.changes

Modified: trunk/storage/libstorage/src/Volume.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/storage/libstorage/src/Volume.cc?rev=45164&r1=45163&r2=45164&view=diff
==============================================================================
--- trunk/storage/libstorage/src/Volume.cc (original)
+++ trunk/storage/libstorage/src/Volume.cc Mon Mar 3 16:29:29 2008
@@ -1303,7 +1303,7 @@
ret = VOLUME_CRYPT_NO_PWD;
if( ret == 0 && cType()==NFSC )
ret = VOLUME_CRYPT_NFS_IMPOSSIBLE;
- if( ret==0 && format )
+ if( ret==0 && (format||loop_active) )
{
encryption = typ;
is_loop = cont->type()==LOOP;

Modified: trunk/storage/package/yast2-storage.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/storage/package/yast2-storage.changes?rev=45164&r1=45163&r2=45164&view=diff
==============================================================================
--- trunk/storage/package/yast2-storage.changes (original)
+++ trunk/storage/package/yast2-storage.changes Mon Mar 3 16:29:29 2008
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Mon Mar 3 16:28:57 CET 2008 - fehr@xxxxxxx
+
+- fix detection of existing encrypted loop devices to have correct
+ encryption type set
+
+-------------------------------------------------------------------
Thu Feb 28 17:01:31 CET 2008 - fehr@xxxxxxx

- do not allow mp swap for file based loop devices (#363332)

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

< Previous Next >
This Thread
  • No further messages