summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsfs.c
diff options
context:
space:
mode:
authorEugene Korenevsky <ekorenevsky@astralinux.ru>2022-01-14 22:53:00 +0300
committerSteve French <stfrench@microsoft.com>2022-01-17 13:28:05 -0600
commit7eacba3b00a3c35c1ad189f543b1995dd0bdca9c (patch)
tree2249b6fcae12626374ee147383bf039757c22c05 /fs/cifs/cifsfs.c
parent74ce6135ae6ef482715cff2ccd703b7295f900f2 (diff)
downloadlinux-stable-7eacba3b00a3c35c1ad189f543b1995dd0bdca9c.tar.gz
linux-stable-7eacba3b00a3c35c1ad189f543b1995dd0bdca9c.tar.bz2
linux-stable-7eacba3b00a3c35c1ad189f543b1995dd0bdca9c.zip
cifs: alloc_path_with_tree_prefix: do not append sep. if the path is empty
alloc_path_with_tree_prefix() concatenates tree prefix and the path. Windows CIFS client does not add separator after the tree prefix if the path is empty. Let's do the same. This fixes mounting DFS namespaces with names containing non-ASCII symbols. BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=215440 Signed-off-by: Eugene Korenevsky <ekorenevsky@astralinux.ru> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/cifsfs.c')
0 files changed, 0 insertions, 0 deletions