* Disallow mapping of device which is already in use (mapped or mounted).

* Disallow luksFormat on device in use.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@361 36d66b0a-2a48-0410-832c-cd162a569da5
This commit is contained in:
Milan Broz
2010-11-05 17:53:33 +00:00
parent c9881f8c33
commit b7caa72acd
7 changed files with 98 additions and 55 deletions

View File

@@ -535,7 +535,6 @@ out:
static int action_luksRemoveKey(int arg)
{
struct crypt_device *cd = NULL;
crypt_keyslot_info ki;
char *password = NULL;
unsigned int passwordLen;
int r;