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@suse.de + +- fix detection of existing encrypted loop devices to have correct + encryption type set + +------------------------------------------------------------------- Thu Feb 28 17:01:31 CET 2008 - fehr@suse.de - do not allow mp swap for file based loop devices (#363332) -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org