]> git.baikalelectronics.ru Git - kernel.git/commit
smb3: if server does not support posix do not allow posix mount option
authorSteve French <stfrench@microsoft.com>
Mon, 18 Jun 2018 19:01:59 +0000 (14:01 -0500)
committerSteve French <stfrench@microsoft.com>
Tue, 7 Aug 2018 19:15:41 +0000 (14:15 -0500)
commitaaa563a3e163e918c46bb1a3ab3906f11daf2134
tree85e29ad60403545fce8c77f75be0bfa9668c430a
parentccdb8e246c8b8e81362538a6a464297f462d534e
smb3: if server does not support posix do not allow posix mount option

If user specifies "posix" on an SMB3.11 mount, then fail the mount
if server does not return the POSIX negotiate context indicating
support for posix.

Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
fs/cifs/connect.c