diff options
author | Pali Rohár <pali@kernel.org> | 2024-09-28 13:24:26 +0200 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2025-01-31 12:51:44 -0600 |
commit | 4e2043be5c149cb07d806c438a8ec8657741bd31 (patch) | |
tree | b5e3e8f050657fd3e771d55b97d06a204dee5cea /net/lapb/lapb_timer.c | |
parent | eea5119fa5979c350af5783a8148eacdd4219715 (diff) | |
download | linux-4e2043be5c149cb07d806c438a8ec8657741bd31.tar.gz linux-4e2043be5c149cb07d806c438a8ec8657741bd31.tar.bz2 linux-4e2043be5c149cb07d806c438a8ec8657741bd31.zip |
cifs: Add support for creating WSL-style symlinks
This change implements support for creating new symlink in WSL-style by
Linux cifs client when -o reparse=wsl mount option is specified. WSL-style
symlink uses reparse point with tag IO_REPARSE_TAG_LX_SYMLINK and symlink
target location is stored in reparse buffer in UTF-8 encoding prefixed by
32-bit flags. Flags bits are unknown, but it was observed that WSL always
sets flags to value 0x02000000. Do same in Linux cifs client.
New symlinks would be created in WSL-style only in case the mount option
-o reparse=wsl is specified, which is not by default. So default CIFS
mounts are not affected by this change.
Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions