Commit 8bde59b
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: 514d793 ("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>1 parent 4508ec1 commit 8bde59b
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5217 | 5217 | | |
5218 | 5218 | | |
5219 | 5219 | | |
5220 | | - | |
| 5220 | + | |
5221 | 5221 | | |
5222 | 5222 | | |
5223 | 5223 | | |
| |||
5231 | 5231 | | |
5232 | 5232 | | |
5233 | 5233 | | |
5234 | | - | |
| 5234 | + | |
| 5235 | + | |
5235 | 5236 | | |
5236 | 5237 | | |
5237 | 5238 | | |
| |||
5254 | 5255 | | |
5255 | 5256 | | |
5256 | 5257 | | |
| 5258 | + | |
| 5259 | + | |
5257 | 5260 | | |
| 5261 | + | |
5258 | 5262 | | |
5259 | 5263 | | |
5260 | 5264 | | |
| |||
0 commit comments