Whamcloud - gitweb
LU-12275 sec: add llcrypt as file encryption library
[fs/lustre-release.git] / contrib / scripts / crypto_patches / 0002_dcache_encrypted_name.patch
1 Linux 5.1 (commit 6cc248684d3d) renames DCACHE_ENCRYPTED_WITH_KEY to
2 DCACHE_ENCRYPTED_NAME.
3
4 --- a/libcfs/include/libcfs/crypto/llcrypt.h
5 +++ b/libcfs/include/libcfs/crypto/llcrypt.h
6 @@ -13,6 +13,10 @@
7  #ifndef _LINUX_LLCRYPT_H
8  #define _LINUX_LLCRYPT_H
9  
10 +#ifndef DCACHE_ENCRYPTED_NAME
11 +#define DCACHE_ENCRYPTED_NAME 0x02000000
12 +#endif
13 +
14  #include <linux/fs.h>
15  #include <linux/mm.h>
16  #include <linux/slab.h>