summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifs_unicode.h
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2017-05-05 04:36:16 +0200
committerSteve French <smfrench@gmail.com>2017-05-05 15:33:44 +0200
commit85435d7a15294f9f7ef23469e6aaf7c5dfcc54f0 (patch)
treebf7fba3883958ac0287cabd0a6eba74fc8e4823f /fs/cifs/cifs_unicode.h
parentSMB3: Work around mount failure when using SMB3 dialect to Macs (diff)
downloadlinux-85435d7a15294f9f7ef23469e6aaf7c5dfcc54f0.tar.xz
linux-85435d7a15294f9f7ef23469e6aaf7c5dfcc54f0.zip
CIFS: add misssing SFM mapping for doublequote
SFM is mapping doublequote to 0xF020 Without this patch creating files with doublequote fails to Windows/Mac Signed-off-by: Bjoern Jacke <bjacke@samba.org> Signed-off-by: Steve French <smfrench@gmail.com> CC: stable <stable@vger.kernel.org>
Diffstat (limited to 'fs/cifs/cifs_unicode.h')
-rw-r--r--fs/cifs/cifs_unicode.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/cifs_unicode.h b/fs/cifs/cifs_unicode.h
index 7bfb76e60401..8a79a34e66b8 100644
--- a/fs/cifs/cifs_unicode.h
+++ b/fs/cifs/cifs_unicode.h
@@ -57,6 +57,7 @@
* not conflict (although almost does) with the mapping above.
*/
+#define SFM_DOUBLEQUOTE ((__u16) 0xF020)
#define SFM_ASTERISK ((__u16) 0xF021)
#define SFM_QUESTION ((__u16) 0xF025)
#define SFM_COLON ((__u16) 0xF022)