Unify dm backend for crypt/verity.

This commit is contained in:
Milan Broz
2012-06-08 10:12:12 +02:00
parent b016e65daa
commit c4b16923bb
7 changed files with 148 additions and 150 deletions

View File

@@ -225,7 +225,7 @@ int LOOPAES_activate(struct crypt_device *cd,
log_dbg("Trying to activate loop-AES device %s using cipher %s.",
name, dmd.u.crypt.cipher);
r = dm_create_device(name, CRYPT_LOOPAES, &dmd, 0);
r = dm_create_device(name, CRYPT_LOOPAES, &dmd, NULL, 0);
if (!r && !(dm_flags() & req_flags)) {
log_err(cd, _("Kernel doesn't support loop-AES compatible mapping.\n"));