Skip to content

Commit

Permalink
[PATCH] CIFS: Fix path name conversion for long filenames
Browse files Browse the repository at this point in the history
Fix path name conversion for long filenames when mapchars mount option
was specified at mount time.

Signed-off-by: Steve French ([email protected])
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Steve French authored and Linus Torvalds committed Aug 14, 2005
1 parent d024709 commit 27876d0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions fs/cifs/CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
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.
Expand Down
1 change: 1 addition & 0 deletions fs/cifs/misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 27876d0

Please sign in to comment.