diff options
author | Paulo Alcantara <pc@cjr.nz> | 2021-06-05 00:25:30 +0200 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2021-06-21 04:28:16 +0200 |
commit | c870a8e70e682764dfca6771d3ee5d632babb3e5 (patch) | |
tree | cc8b2df58b119168f335f646f62c17cbd68e28f0 /fs/cifs/cifs_fs_sb.h | |
parent | cifs: keep referral server sessions alive (diff) | |
download | linux-c870a8e70e682764dfca6771d3ee5d632babb3e5.tar.xz linux-c870a8e70e682764dfca6771d3ee5d632babb3e5.zip |
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>
Diffstat (limited to 'fs/cifs/cifs_fs_sb.h')
-rw-r--r-- | fs/cifs/cifs_fs_sb.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/cifs/cifs_fs_sb.h b/fs/cifs/cifs_fs_sb.h index 2dfd10c34ace..64990ccd1b9c 100644 --- a/fs/cifs/cifs_fs_sb.h +++ b/fs/cifs/cifs_fs_sb.h @@ -72,9 +72,8 @@ struct cifs_sb_info { char *prepath; /* - * Path initially provided by the mount call. We might connect - * to something different via DFS but we want to keep it to do - * failover properly. + * Canonical DFS path initially provided by the mount call. We might connect to something + * different via DFS but we want to keep it to do failover properly. */ char *origin_fullpath; /* \\HOST\SHARE\[OPTIONAL PATH] */ /* randomly generated 128-bit number for indexing dfs mount groups in referral cache */ |