cifs: handle different charsets in dfs cache
authorPaulo Alcantara <pc@cjr.nz>
Fri, 4 Jun 2021 22:25:30 +0000 (19:25 -0300)
committerSteve French <stfrench@microsoft.com>
Mon, 21 Jun 2021 02:28:16 +0000 (21:28 -0500)
commitc870a8e70e682764dfca6771d3ee5d632babb3e5
treecc8b2df58b119168f335f646f62c17cbd68e28f0
parentc9f7110399059100e69dba08a58658890be75f6f
cifs: handle different charsets in dfs cache

Convert all dfs paths to dfs cache's local codepage (@cache_cp) and
avoid mixing them with different charsets.

Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifs_fs_sb.h
fs/cifs/cifsglob.h
fs/cifs/connect.c
fs/cifs/dfs_cache.c
fs/cifs/dfs_cache.h