summaryrefslogtreecommitdiffstats
path: root/fs/cifs/smb2pdu.c
diff options
context:
space:
mode:
authorSteve French <steve.french@primarydata.com>2015-02-06 07:03:52 +0100
committerSteve French <steve.french@primarydata.com>2015-06-28 05:23:59 +0200
commiteed0e1753cbe7a30758ad2ee5e2742dd7fda2c41 (patch)
tree3bed8a833e195d424e4d6162920b11fb2b376c56 /fs/cifs/smb2pdu.c
parentAllow parsing vers=3.11 on cifs mount (diff)
downloadlinux-eed0e1753cbe7a30758ad2ee5e2742dd7fda2c41.tar.xz
linux-eed0e1753cbe7a30758ad2ee5e2742dd7fda2c41.zip
Add defines and structs for smb3.1 dialect
Add new structures and defines for SMB3.11 negotiate, session setup and tcon See MS-SMB2-diff.pdf section 2.2.3 for additional protocol documentation. Reviewed-by: Jeff Layton <jlayton@primarydata.com> Signed-off-by: Steve French <steve.french@primarydata.com>
Diffstat (limited to 'fs/cifs/smb2pdu.c')
-rw-r--r--fs/cifs/smb2pdu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/smb2pdu.c b/fs/cifs/smb2pdu.c
index 150dbe3e2822..1270806376eb 100644
--- a/fs/cifs/smb2pdu.c
+++ b/fs/cifs/smb2pdu.c
@@ -576,7 +576,7 @@ ssetup_ntlmssp_authenticate:
return rc;
req->hdr.SessionId = 0; /* First session, not a reauthenticate */
- req->VcNumber = 0; /* MBZ */
+ req->Flags = 0; /* MBZ */
/* to enable echos and oplocks */
req->hdr.CreditRequest = cpu_to_le16(3);