aboutsummaryrefslogtreecommitdiff
path: root/fs/smb/client/fs_context.c
diff options
context:
space:
mode:
authorPaulo Alcantara <pc@manguebit.com>2024-02-11 20:19:31 -0300
committerSteve French <stfrench@microsoft.com>2024-02-12 12:47:21 -0600
commit8bde59b20de06339d598e8b05e5195f7c631c38b (patch)
tree747b1929632fba1ae016734c5b53622135886921 /fs/smb/client/fs_context.c
parent4508ec17357094e2075f334948393ddedbb75157 (diff)
smb: client: handle path separator of created SMB symlinks
Convert path separator to CIFS_DIR_SEP(cifs_sb) from symlink target before sending it over the wire otherwise the created SMB symlink may become innaccesible from server side. Fixes: 514d793e27a3 ("smb: client: allow creating symlinks via reparse points") Signed-off-by: Paulo Alcantara (Red Hat) <pc@manguebit.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/smb/client/fs_context.c')
0 files changed, 0 insertions, 0 deletions