ceph: pre-allocate data structure that tracks caps flushing
[deliverable/linux.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;
This page took 0.024253 seconds and 5 git commands to generate.