aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/readdir.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/cifs/readdir.c')
-rw-r--r--fs/cifs/readdir.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/readdir.c b/fs/cifs/readdir.c
index f84062f9a985..f5618f8cc462 100644
--- a/fs/cifs/readdir.c
+++ b/fs/cifs/readdir.c
@@ -666,6 +666,7 @@ static int cifs_get_name_from_search_buf(struct qstr *pqst,
666 min(len, max_len), nlt, 666 min(len, max_len), nlt,
667 cifs_sb->mnt_cifs_flags & 667 cifs_sb->mnt_cifs_flags &
668 CIFS_MOUNT_MAP_SPECIAL_CHR); 668 CIFS_MOUNT_MAP_SPECIAL_CHR);
669 pqst->len -= nls_nullsize(nlt);
669 } else { 670 } else {
670 pqst->name = filename; 671 pqst->name = filename;
671 pqst->len = len; 672 pqst->len = len;