]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/cifs/link.c
hysdn: No longer broken on SMP.
[linux-2.6-omap-h63xx.git] / fs / cifs / link.c
index 1d6fb01b8e6d2c0aa6558c1f86514233bad920aa..1c2c3ce5020b6ccc7d31eb90bfe2166da5555070 100644 (file)
@@ -205,7 +205,7 @@ cifs_symlink(struct inode *inode, struct dentry *direntry, const char *symname)
                                                      inode->i_sb, xid);
                else
                        rc = cifs_get_inode_info(&newinode, full_path, NULL,
-                                                inode->i_sb, xid);
+                                                inode->i_sb, xid, NULL);
 
                if (rc != 0) {
                        cFYI(1, ("Create symlink ok, getinodeinfo fail rc = %d",
@@ -230,7 +230,7 @@ cifs_readlink(struct dentry *direntry, char __user *pBuffer, int buflen)
        struct inode *inode = direntry->d_inode;
        int rc = -EACCES;
        int xid;
-       int oplock = FALSE;
+       int oplock = 0;
        struct cifs_sb_info *cifs_sb;
        struct cifsTconInfo *pTcon;
        char *full_path = NULL;