Skip to content

Commit 6b44530

Browse files
pcacjrsmfrench
authored andcommitted
smb: client: default to nonativesocket under POSIX mounts
SMB3.1.1 POSIX mounts require sockets to be created with NFS reparse points. Cc: [email protected] Cc: Ralph Boehme <[email protected]> Cc: David Howells <[email protected]> Cc: <[email protected]> Reported-by: Matthew Richardson <[email protected]> Closes: https://marc.info/[email protected] Signed-off-by: Paulo Alcantara (Red Hat) <[email protected]> Signed-off-by: Steve French <[email protected]>
1 parent a967e75 commit 6b44530

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

fs/smb/client/fs_context.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1652,6 +1652,7 @@ static int smb3_fs_context_parse_param(struct fs_context *fc,
16521652
pr_warn_once("conflicting posix mount options specified\n");
16531653
ctx->linux_ext = 1;
16541654
ctx->no_linux_ext = 0;
1655+
ctx->nonativesocket = 1; /* POSIX mounts use NFS style reparse points */
16551656
}
16561657
break;
16571658
case Opt_nocase:

0 commit comments

Comments
 (0)