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)
commitb704e70b7cf48f9b67c07d585168e102dfa30bb4
tree702b8b2df6dae6d3d63b27e09ed8e5f5998c9b5a
parent3998e6b87d4258a70df358296d6f1c7234012bfe
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