mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
Split low level code for creating dm devices.
The separate code for reloading device tables will be used in later features.
This commit is contained in:
committed by
Milan Broz
parent
6e1e11f6cd
commit
120ebea917
@@ -846,7 +846,7 @@ int TCRYPT_activate(struct crypt_device *cd,
|
||||
|
||||
log_dbg(cd, "Trying to activate TCRYPT device %s using cipher %s.",
|
||||
dm_name, dmd.u.crypt.cipher);
|
||||
r = dm_create_device(cd, dm_name, CRYPT_TCRYPT, &dmd, 0);
|
||||
r = dm_create_device(cd, dm_name, CRYPT_TCRYPT, &dmd);
|
||||
|
||||
device_free(cd, device);
|
||||
device = NULL;
|
||||
|
||||
Reference in New Issue
Block a user