aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsfs.c
diff options
context:
space:
mode:
authorPaulo Alcantara (SUSE) <pc@cjr.nz>2020-02-20 19:49:35 -0300
committerSteve French <stfrench@microsoft.com>2020-02-24 14:20:38 -0600
commit154255233830e1e4dd0d99ac929a5dce588c0b81 (patch)
tree719128f79d04751293c8786f0585c4f9b8e2adf7 /fs/cifs/cifsfs.c
parentcifs: don't leak -EAGAIN for stat() during reconnect (diff)
downloadlinux-dev-154255233830e1e4dd0d99ac929a5dce588c0b81.tar.xz
linux-dev-154255233830e1e4dd0d99ac929a5dce588c0b81.zip
cifs: fix potential mismatch of UNC paths
Ensure that full_path is an UNC path that contains '\\' as delimiter, which is required by cifs_build_devname(). The build_path_from_dentry_optional_prefix() function may return a path with '/' as delimiter when using SMB1 UNIX extensions, for example. Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz> Signed-off-by: Steve French <stfrench@microsoft.com> Acked-by: Ronnie Sahlberg <lsahlber@redhat.com>
Diffstat (limited to 'fs/cifs/cifsfs.c')
0 files changed, 0 insertions, 0 deletions