Jon Kuhn c15e3f19a6 fs/cifs: don't translate SFM_SLASH (U+F026) to backslash
When a Mac client saves an item containing a backslash to a file server
the backslash is represented in the CIFS/SMB protocol as as U+F026.
Before this change, listing a directory containing an item with a
backslash in its name will return that item with the backslash
represented with a true backslash character (U+005C) because
convert_sfm_character mapped U+F026 to U+005C when interpretting the
CIFS/SMB protocol response.  However, attempting to open or stat the
path using a true backslash will result in an error because
convert_to_sfm_char does not map U+005C back to U+F026 causing the
CIFS/SMB request to be made with the backslash represented as U+005C.

This change simply prevents the U+F026 to U+005C conversion from
happenning.  This is analogous to how the code does not do any
translation of UNI_SLASH (U+F000).

Signed-off-by: Jon Kuhn <jkuhn@barracuda.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
2018-09-02 23:21:42 -05:00
..
2018-06-12 16:19:22 -07:00
2018-05-27 17:56:35 -05:00
2016-10-13 19:48:11 -05:00
2018-08-07 14:23:20 -05:00
2018-08-07 14:15:41 -05:00
2018-06-12 16:19:22 -07:00
2018-08-07 14:15:41 -05:00
2018-08-23 15:10:49 -05:00
2018-06-01 09:14:30 -05:00
2018-06-01 09:14:30 -05:00
2012-07-24 10:25:13 -05:00
2018-08-16 13:12:00 -06:00
2018-07-05 13:48:24 -05:00
2013-09-08 14:54:24 -05:00