]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - fs/ncpfs/symlink.c
Merge remote-tracking branch 'asoc/fix/intel' into asoc-linus
[mirror_ubuntu-artful-kernel.git] / fs / ncpfs / symlink.c
index 1a63bfdb4a6584eb10d6744aabeec27e940513d7..421b6f91e8ecadc3b8105d380f84de38687194e4 100644 (file)
@@ -156,7 +156,7 @@ int ncp_symlink(struct inode *dir, struct dentry *dentry, const char *symname) {
                goto failfree;
        }
 
-       inode=dentry->d_inode;
+       inode=d_inode(dentry);
 
        if (ncp_make_open(inode, O_WRONLY))
                goto failfree;