[CIFS] Fix path name conversion for long filenames when mapchars mount

option was specified at mount time.

Signed-off-by: Steve French (sfrench@us.ibm.com)
This commit is contained in:
Steve French
2005-07-14 18:29:02 -05:00
parent d7245c2ccf
commit f4cfd69cf3
2 changed files with 7 additions and 0 deletions

View File

@ -611,6 +611,7 @@ cifsConvertToUCS(__le16 * target, const char *source, int maxlen,
src_char = source[i];
switch (src_char) {
case 0:
target[j] = 0;
goto ctoUCS_out;
case ':':
target[j] = cpu_to_le16(UNI_COLON);