aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/link.c
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2005-08-22 23:09:43 -0400
committerSteve French <sfrench@us.ibm.com>2005-08-22 23:09:43 -0400
commitb92327fe6b25d60004b79df9e3c19091c03118ba (patch)
tree064479872cf0cc83d08f9c719edfd9769b01b9a3 /fs/cifs/link.c
parenta5a2b489bae8f66559a531df99a26eb16b42299e (diff)
[CIFS] Finish up of case-insensitive dentry handling for cifs. This
will eventually (or should eventually) be common code for jfs, smbfs, etc. but in the meantime is small enough and necessary when mounting case insensitive to Windows (nocase). Signed-off-by: Shaggy (shaggy@austin.ibm.com) Signed-off-by: Steve French (sfrench@us.ibm.com)
Diffstat (limited to 'fs/cifs/link.c')
-rw-r--r--fs/cifs/link.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/cifs/link.c b/fs/cifs/link.c
index da420e8c3298..b8ec6646456a 100644
--- a/fs/cifs/link.c
+++ b/fs/cifs/link.c
@@ -199,7 +199,10 @@ cifs_symlink(struct inode *inode, struct dentry *direntry, const char *symname)
199 ("Create symlink worked but get_inode_info failed with rc = %d ", 199 ("Create symlink worked but get_inode_info failed with rc = %d ",
200 rc)); 200 rc));
201 } else { 201 } else {
202 direntry->d_op = &cifs_dentry_ops; 202 if (pTcon->nocase)
203 direntry->d_op = &cifs_ci_dentry_ops;
204 else
205 direntry->d_op = &cifs_dentry_ops;
203 d_instantiate(direntry, newinode); 206 d_instantiate(direntry, newinode);
204 } 207 }
205 } 208 }