Mark crypt_memory_lock() API call deprecated.

And remove its implementation.
This commit is contained in:
Milan Broz
2022-08-16 15:41:01 +02:00
parent 4b47091b85
commit 88d9524e6c
4 changed files with 3 additions and 43 deletions

View File

@@ -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)