mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-11 19:00:02 +01:00
Mark crypt_memory_lock() API call deprecated.
And remove its implementation.
This commit is contained in:
@@ -5016,7 +5016,7 @@ int crypt_get_rng_type(struct crypt_device *cd)
|
||||
|
||||
int crypt_memory_lock(struct crypt_device *cd, int lock)
|
||||
{
|
||||
return lock ? crypt_memlock_inc(cd) : crypt_memlock_dec(cd);
|
||||
return 0;
|
||||
}
|
||||
|
||||
void crypt_set_compatibility(struct crypt_device *cd, uint32_t flags)
|
||||
|
||||
Reference in New Issue
Block a user