linux-stable/fs/smb
Winston Wen 23b0014df6 cifs: fix charset issue in reconnection
[ Upstream commit a43f95fdd3 ]

We need to specify charset, like "iocharset=utf-8", in mount options for
Chinese path if the nls_default don't support it, such as iso8859-1, the
default value for CONFIG_NLS_DEFAULT.

But now in reconnection the nls_default is used, instead of the one we
specified and used in mount, and this can lead to mount failure.

Signed-off-by: Winston Wen <wentao@uniontech.com>
Reviewed-by: Paulo Alcantara <pc@manguebit.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-09-13 09:47:51 +02:00
..
client cifs: fix charset issue in reconnection 2023-09-13 09:47:51 +02:00
common
server ksmbd: fix out of bounds in init_smb2_rsp_hdr() 2023-09-13 09:47:50 +02:00
Kconfig
Makefile