aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/cifs/readdir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/readdir.c b/fs/cifs/readdir.c
index 41c022e3c132..b689c5035124 100644
--- a/fs/cifs/readdir.c
+++ b/fs/cifs/readdir.c
@@ -766,7 +766,7 @@ static int cifs_filldir(char *pfindEntry, struct file *file,
766 if(file->f_dentry == NULL) 766 if(file->f_dentry == NULL)
767 return -ENOENT; 767 return -ENOENT;
768 768
769 rc = cifs_entry_is_dot(pfindEntry,cifsF); 769 rc = cifs_entry_is_dot(pfindEntry,pCifsF);
770 /* skip . and .. since we added them first */ 770 /* skip . and .. since we added them first */
771 if(rc != 0) 771 if(rc != 0)
772 return 0; 772 return 0;