]> git.baikalelectronics.ru Git - kernel.git/commit
CIFS: fix mapping of SFM_SPACE and SFM_PERIOD
authorBjörn Jacke <bj@sernet.de>
Wed, 3 May 2017 21:47:44 +0000 (23:47 +0200)
committerSteve French <smfrench@gmail.com>
Thu, 4 May 2017 00:31:33 +0000 (19:31 -0500)
commit4ffcc8edcf1f0db87bba583db3e547b9ee9f4372
tree702b8b2df6dae6d3d63b27e09ed8e5f5998c9b5a
parent4d6152353bcc5e8fee0a5028e66f62734c7bb425
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>
fs/cifs/cifs_unicode.h