diff options
author | Paulo Alcantara <pc@cjr.nz> | 2021-06-04 19:25:30 -0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2021-06-20 21:28:16 -0500 |
commit | c870a8e70e682764dfca6771d3ee5d632babb3e5 (patch) | |
tree | cc8b2df58b119168f335f646f62c17cbd68e28f0 /fs/cifs/cifsglob.h | |
parent | cifs: keep referral server sessions alive (diff) | |
download | linux-dev-c870a8e70e682764dfca6771d3ee5d632babb3e5.tar.xz linux-dev-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/cifsglob.h')
-rw-r--r-- | fs/cifs/cifsglob.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index 8488d7024462..d85ef3b41bd9 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h @@ -1093,8 +1093,7 @@ struct cifs_tcon { struct cached_fid crfid; /* Cached root fid */ /* BB add field for back pointer to sb struct(s)? */ #ifdef CONFIG_CIFS_DFS_UPCALL - char *dfs_path; - int remap:2; + char *dfs_path; /* canonical DFS path */ struct list_head ulist; /* cache update list */ #endif }; |