Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] CIFS: Fix path name conversion for long filenames

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)
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Steve French and committed by
Linus Torvalds
27876d02 d024709d

+7
+6
fs/cifs/CHANGES
··· 1 + Version 1.35 2 + ------------ 3 + Add writepage performance improvements. Fix path name conversions 4 + for long filenames on mounts which were done with "mapchars" mount option 5 + specified. 6 + 1 7 Version 1.34 2 8 ------------ 3 9 Fix error mapping of the TOO_MANY_LINKS (hardlinks) case.
+1
fs/cifs/misc.c
··· 611 611 src_char = source[i]; 612 612 switch (src_char) { 613 613 case 0: 614 + target[j] = 0; 614 615 goto ctoUCS_out; 615 616 case ':': 616 617 target[j] = cpu_to_le16(UNI_COLON);