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)
commit8505c8bfd85a260c9dc5c47e15bd8c5357fcbcd2
tree85e29ad60403545fce8c77f75be0bfa9668c430a
parentcbedeadf9c44a1a135293717d501882f2933a534
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