mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 09:19:51 +00:00
CIFS: fix mapping of SFM_SPACE and SFM_PERIOD
- trailing space maps to 0xF028 - trailing period maps to 0xF029 This fix corrects the mapping of file names which have a trailing character that would otherwise be illegal (period or space) but is allowed by POSIX. Signed-off-by: Bjoern Jacke <bjacke@samba.org> CC: Stable <stable@vger.kernel.org> Signed-off-by: Steve French <smfrench@gmail.com>
This commit is contained in:
parent
3998e6b87d
commit
b704e70b7c
1 changed files with 2 additions and 2 deletions
|
@ -64,8 +64,8 @@
|
||||||
#define SFM_LESSTHAN ((__u16) 0xF023)
|
#define SFM_LESSTHAN ((__u16) 0xF023)
|
||||||
#define SFM_PIPE ((__u16) 0xF027)
|
#define SFM_PIPE ((__u16) 0xF027)
|
||||||
#define SFM_SLASH ((__u16) 0xF026)
|
#define SFM_SLASH ((__u16) 0xF026)
|
||||||
#define SFM_PERIOD ((__u16) 0xF028)
|
#define SFM_SPACE ((__u16) 0xF028)
|
||||||
#define SFM_SPACE ((__u16) 0xF029)
|
#define SFM_PERIOD ((__u16) 0xF029)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Mapping mechanism to use when one of the seven reserved characters is
|
* Mapping mechanism to use when one of the seven reserved characters is
|
||||||
|
|
Loading…
Reference in a new issue