summaryrefslogtreecommitdiff
path: root/fs/cifs/readdir.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2010-12-18 19:43:51 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2011-01-13 04:02:46 +0300
commit1c929cfe6d8f2087a337a868fbf6c38d56bb4889 (patch)
tree7af4da88d893a45bff4fa3df9163a150a8a837b7 /fs/cifs/readdir.c
parent8b244ff2fa58f81f84aa03c82c2c23307a778ce7 (diff)
downloadlinux-1c929cfe6d8f2087a337a868fbf6c38d56bb4889.tar.xz
switch cifs
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/cifs/readdir.c')
-rw-r--r--fs/cifs/readdir.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/cifs/readdir.c b/fs/cifs/readdir.c
index 76b1b37c9e6b..7f25cc3d2256 100644
--- a/fs/cifs/readdir.c
+++ b/fs/cifs/readdir.c
@@ -102,11 +102,6 @@ cifs_readdir_lookup(struct dentry *parent, struct qstr *name,
return NULL;
}
- if (cifs_sb_master_tcon(CIFS_SB(sb))->nocase)
- d_set_d_op(dentry, &cifs_ci_dentry_ops);
- else
- d_set_d_op(dentry, &cifs_dentry_ops);
-
alias = d_materialise_unique(dentry, inode);
if (alias != NULL) {
dput(dentry);