Whamcloud - gitweb
LU-12275 sec: add llcrypt as file encryption library
[fs/lustre-release.git] / contrib / scripts / crypto_patches / 0013_dentry_path_raw.patch
1 As dentry_path is not exported by the kernel, replace with dentry_path_raw.
2
3 --- a/libcfs/libcfs/crypto/keyring.c
4 +++ b/libcfs/libcfs/crypto/keyring.c
5 @@ -707,7 +707,7 @@ static int check_for_busy_inodes(struct
6         spin_unlock(&mk->mk_decrypted_inodes_lock);
7  
8         if (dentry) {
9 -               path = dentry_path(dentry, _path, sizeof(_path));
10 +               path = dentry_path_raw(dentry, _path, sizeof(_path));
11                 dput(dentry);
12         }
13         if (IS_ERR_OR_NULL(path))