mirror of https://github.com/torvalds/linux.git
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>
This commit is contained in:
parent
a967e758f8
commit
6b445309ee
|
|
@ -1652,6 +1652,7 @@ static int smb3_fs_context_parse_param(struct fs_context *fc,
|
||||||
pr_warn_once("conflicting posix mount options specified\n");
|
pr_warn_once("conflicting posix mount options specified\n");
|
||||||
ctx->linux_ext = 1;
|
ctx->linux_ext = 1;
|
||||||
ctx->no_linux_ext = 0;
|
ctx->no_linux_ext = 0;
|
||||||
|
ctx->nonativesocket = 1; /* POSIX mounts use NFS style reparse points */
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case Opt_nocase:
|
case Opt_nocase:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue