]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/ecryptfs/mmap.c
Merge remote-tracking branches 'asoc/fix/rt5677', 'asoc/fix/samsung' and 'asoc/fix...
[karo-tx-linux.git] / fs / ecryptfs / mmap.c
index 4626976794e75284b2665cfdb99b38092fecfd93..cf208522998ed9366fa981a79c8ea35af13b3123 100644 (file)
@@ -420,7 +420,7 @@ static int ecryptfs_write_inode_size_to_xattr(struct inode *ecryptfs_inode)
        void *xattr_virt;
        struct dentry *lower_dentry =
                ecryptfs_inode_to_private(ecryptfs_inode)->lower_file->f_path.dentry;
-       struct inode *lower_inode = lower_dentry->d_inode;
+       struct inode *lower_inode = d_inode(lower_dentry);
        int rc;
 
        if (!lower_inode->i_op->getxattr || !lower_inode->i_op->setxattr) {