diff options
author | Jeff Layton <jlayton@redhat.com> | 2009-04-30 12:45:08 +0200 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2009-04-30 17:44:59 +0200 |
commit | 66345f50f070ae7412a28543ee197cb5eff73598 (patch) | |
tree | f1cf00ff182c60d289f296c6dd825825dd895e4a /fs/cifs/misc.c | |
parent | Merge branch 'master' of /pub/scm/linux/kernel/git/torvalds/linux-2.6 (diff) | |
download | linux-66345f50f070ae7412a28543ee197cb5eff73598.tar.xz linux-66345f50f070ae7412a28543ee197cb5eff73598.zip |
cifs: move #defines for mapchars into cifs_unicode.h
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Acked-by: Suresh Jayaraman <sjayaraman@suse.de>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/misc.c')
-rw-r--r-- | fs/cifs/misc.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/fs/cifs/misc.c b/fs/cifs/misc.c index 4c89c572891a..bb81c8af6a93 100644 --- a/fs/cifs/misc.c +++ b/fs/cifs/misc.c @@ -635,17 +635,6 @@ dump_smb(struct smb_hdr *smb_buf, int smb_buf_length) return; } -/* Windows maps these to the user defined 16 bit Unicode range since they are - reserved symbols (along with \ and /), otherwise illegal to store - in filenames in NTFS */ -#define UNI_ASTERIK (__u16) ('*' + 0xF000) -#define UNI_QUESTION (__u16) ('?' + 0xF000) -#define UNI_COLON (__u16) (':' + 0xF000) -#define UNI_GRTRTHAN (__u16) ('>' + 0xF000) -#define UNI_LESSTHAN (__u16) ('<' + 0xF000) -#define UNI_PIPE (__u16) ('|' + 0xF000) -#define UNI_SLASH (__u16) ('\\' + 0xF000) - /* Convert 16 bit Unicode pathname from wire format to string in current code page. Conversion may involve remapping up the seven characters that are only legal in POSIX-like OS (if they are present in the string). Path |