Skip to content

Commit 1916a68

Browse files
committed
smb: client: default to nonativesocket under POSIX mounts
JIRA: https://issues.redhat.com/browse/RHEL-109507 commit 6b44530 Author: Paulo Alcantara <pc@manguebit.org> Date: Thu Jul 31 20:46:42 2025 -0300 smb: client: default to nonativesocket under POSIX mounts SMB3.1.1 POSIX mounts require sockets to be created with NFS reparse points. 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> Signed-off-by: Paulo Alcantara <paalcant@redhat.com>
1 parent 5c6664c commit 1916a68

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fs/smb/client/fs_context.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1667,6 +1667,7 @@ static int smb3_fs_context_parse_param(struct fs_context *fc,
16671667
pr_warn_once("conflicting posix mount options specified\n");
16681668
ctx->linux_ext = 1;
16691669
ctx->no_linux_ext = 0;
1670+
ctx->nonativesocket = 1; /* POSIX mounts use NFS style reparse points */
16701671
}
16711672
break;
16721673
case Opt_nocase:

0 commit comments

Comments
 (0)