-
- Downloads
cifs: fix charset issue in reconnection
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>
Showing
- fs/smb/client/cifsglob.h 1 addition, 0 deletionsfs/smb/client/cifsglob.h
- fs/smb/client/cifssmb.c 1 addition, 2 deletionsfs/smb/client/cifssmb.c
- fs/smb/client/connect.c 5 additions, 0 deletionsfs/smb/client/connect.c
- fs/smb/client/misc.c 1 addition, 0 deletionsfs/smb/client/misc.c
- fs/smb/client/smb2pdu.c 1 addition, 2 deletionsfs/smb/client/smb2pdu.c
Loading
Please register or sign in to comment