]> err.no Git - linux-2.6/blobdiff - fs/cifs/misc.c
[CIFS] Fix endian errors (setfacl/getfacl failures) in handling ACLs
[linux-2.6] / fs / cifs / misc.c
index 34a06692e4fa9461e624e8ace35de0536d4240d9..ca27a82c54cdb60f4083b21ba427aa004c43ceb7 100644 (file)
@@ -678,7 +678,7 @@ cifsConvertToUCS(__le16 * target, const char *source, int maxlen,
        __u16 temp;
 
        if(!mapChars) 
-               return cifs_strtoUCS((wchar_t *) target, source, PATH_MAX, cp);
+               return cifs_strtoUCS(target, source, PATH_MAX, cp);
 
        for(i = 0, j = 0; i < maxlen; j++) {
                src_char = source[i];