X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=fs%2Fecryptfs%2Ffile.c;h=72afcc629d7b1fee2963fb90e1691a221eb77d8e;hb=f9d1b5a31ab02208e29631756630739175cdaa02;hp=a65786e26b05ac97dbaab6a6258e533aa842cece;hpb=7c034dfd58bbc056280262887acf5b7a98944d0a;p=firefly-linux-kernel-4.4.55.git diff --git a/fs/ecryptfs/file.c b/fs/ecryptfs/file.c index a65786e26b05..72afcc629d7b 100644 --- a/fs/ecryptfs/file.c +++ b/fs/ecryptfs/file.c @@ -130,7 +130,7 @@ struct kmem_cache *ecryptfs_file_info_cache; static int read_or_initialize_metadata(struct dentry *dentry) { - struct inode *inode = dentry->d_inode; + struct inode *inode = d_inode(dentry); struct ecryptfs_mount_crypt_stat *mount_crypt_stat; struct ecryptfs_crypt_stat *crypt_stat; int rc;