]> 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)
commit134078b2df66ed8092a4360ca76ac06e093f6215
tree702b8b2df6dae6d3d63b27e09ed8e5f5998c9b5a
parent2f413c4408301bbbdc75fcb8a5df01e8cdf5d500
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