aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/link.c
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2005-08-21 00:40:00 -0400
committerSteve French <sfrench@us.ibm.com>2005-08-21 00:40:00 -0400
commit646352319b6cd369750a706706810d87f6b6efa7 (patch)
treee7830e1276cbad7d29bf9471def4b8940592c3b7 /fs/cifs/link.c
parentd3485d37c0b3292aec0618b6663c57542df5da99 (diff)
parentf6fdd7d9c273bb2a20ab467cb57067494f932fa3 (diff)
Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Diffstat (limited to 'fs/cifs/link.c')
-rw-r--r--fs/cifs/link.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/cifs/link.c b/fs/cifs/link.c
index 214aa816f669..da420e8c3298 100644
--- a/fs/cifs/link.c
+++ b/fs/cifs/link.c
@@ -92,7 +92,7 @@ cifs_hl_exit:
92 return rc; 92 return rc;
93} 93}
94 94
95int 95void *
96cifs_follow_link(struct dentry *direntry, struct nameidata *nd) 96cifs_follow_link(struct dentry *direntry, struct nameidata *nd)
97{ 97{
98 struct inode *inode = direntry->d_inode; 98 struct inode *inode = direntry->d_inode;
@@ -149,7 +149,7 @@ out:
149out_no_free: 149out_no_free:
150 FreeXid(xid); 150 FreeXid(xid);
151 nd_set_link(nd, target_path); 151 nd_set_link(nd, target_path);
152 return 0; 152 return NULL; /* No cookie */
153} 153}
154 154
155int 155int
@@ -331,7 +331,7 @@ cifs_readlink(struct dentry *direntry, char __user *pBuffer, int buflen)
331 return rc; 331 return rc;
332} 332}
333 333
334void cifs_put_link(struct dentry *direntry, struct nameidata *nd) 334void cifs_put_link(struct dentry *direntry, struct nameidata *nd, void *cookie)
335{ 335{
336 char *p = nd_get_link(nd); 336 char *p = nd_get_link(nd);
337 if (!IS_ERR(p)) 337 if (!IS_ERR(p))