aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/cifs/dir.c')
-rw-r--r--fs/cifs/dir.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/cifs/dir.c b/fs/cifs/dir.c
index c60133f0d8e4..88bfe686ac00 100644
--- a/fs/cifs/dir.c
+++ b/fs/cifs/dir.c
@@ -700,9 +700,10 @@ const struct dentry_operations cifs_dentry_ops = {
700/* d_delete: cifs_d_delete, */ /* not needed except for debugging */ 700/* d_delete: cifs_d_delete, */ /* not needed except for debugging */
701}; 701};
702 702
703static int cifs_ci_hash(struct dentry *dentry, struct qstr *q) 703static int cifs_ci_hash(const struct dentry *dentry, const struct inode *inode,
704 struct qstr *q)
704{ 705{
705 struct nls_table *codepage = CIFS_SB(dentry->d_inode->i_sb)->local_nls; 706 struct nls_table *codepage = CIFS_SB(dentry->d_sb)->local_nls;
706 unsigned long hash; 707 unsigned long hash;
707 int i; 708 int i;
708 709