X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=fs%2Fncpfs%2Fsymlink.c;h=421b6f91e8ecadc3b8105d380f84de38687194e4;hb=49422ad37d90945fe9ad0220d9505e2be6168777;hp=1a63bfdb4a6584eb10d6744aabeec27e940513d7;hpb=eac94da8b4cc3dd4336ed434fbc2370c3c850003;p=mirror_ubuntu-artful-kernel.git diff --git a/fs/ncpfs/symlink.c b/fs/ncpfs/symlink.c index 1a63bfdb4a65..421b6f91e8ec 100644 --- a/fs/ncpfs/symlink.c +++ b/fs/ncpfs/symlink.c @@ -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;