Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f4cfd69c authored by Steve French's avatar Steve French
Browse files

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


option was specified at mount time.

Signed-off-by: default avatarSteve French <(sfrench@us.ibm.com)>
parent d7245c2c
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
Version 1.35
------------
Add writepage performance improvements.  Fix path name conversions
for long filenames on mounts which were done with "mapchars" mount option
specified.

Version 1.34
------------
Fix error mapping of the TOO_MANY_LINKS (hardlinks) case.
+1 −0
Original line number Diff line number Diff line
@@ -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);