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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/readdir.c b/fs/cifs/readdir.c
index fc615670f4b8..9b7e0ff9584b 100644
--- a/fs/cifs/readdir.c
+++ b/fs/cifs/readdir.c
@@ -705,7 +705,7 @@ static int cifs_get_name_from_search_buf(struct qstr *pqst,
705 (__le16 *)filename, len/2, nlt); 705 (__le16 *)filename, len/2, nlt);
706 else 706 else
707 pqst->len = cifs_strfromUCS_le((char *)pqst->name, 707 pqst->len = cifs_strfromUCS_le((char *)pqst->name,
708 (wchar_t *)filename,len/2,nlt); 708 (__le16 *)filename,len/2,nlt);
709 } else { 709 } else {
710 pqst->name = filename; 710 pqst->name = filename;
711 pqst->len = len; 711 pqst->len = len;