]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
smb: client: set symlink type as native for POSIX mounts
authorPaulo Alcantara <pc@manguebit.org>
Thu, 31 Jul 2025 23:46:41 +0000 (20:46 -0300)
committerSteve French <stfrench@microsoft.com>
Fri, 1 Aug 2025 05:16:19 +0000 (00:16 -0500)
commita967e758f8e9d8ce5ef096743393df5e6e51644b
tree5ad5e09f804f12ce9c2cc55d74db7a1fce1a6d90
parentdb68e4c80d995b67a92460711038b9223166bda7
smb: client: set symlink type as native for POSIX mounts

SMB3.1.1 POSIX mounts require symlinks to be created natively with
IO_REPARSE_TAG_SYMLINK reparse point.

Cc: linux-cifs@vger.kernel.org
Cc: Ralph Boehme <slow@samba.org>
Cc: David Howells <dhowells@redhat.com>
Cc: <stable@vger.kernel.org>
Reported-by: Matthew Richardson <m.richardson@ed.ac.uk>
Closes: https://marc.info/?i=1124e7cd-6a46-40a6-9f44-b7664a66654b@ed.ac.uk
Signed-off-by: Paulo Alcantara (Red Hat) <pc@manguebit.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/cifsfs.c
fs/smb/client/fs_context.c
fs/smb/client/fs_context.h
fs/smb/client/link.c
fs/smb/client/reparse.c