summaryrefslogtreecommitdiffstats
path: root/fs/cifs/smb2pdu.h
diff options
context:
space:
mode:
authorRonnie Sahlberg <lsahlber@redhat.com>2017-11-20 11:24:36 +1100
committerSteve French <smfrench@gmail.com>2018-01-24 19:49:04 -0600
commit88ea5cb7d4cc816b1e629cfc3477ceeb99fd248c (patch)
tree9dce0292b4094e5e5392c40be87baec9304faa17 /fs/cifs/smb2pdu.h
parent661bb943a98de5b3cf7c7ffc2d96141df4ac842e (diff)
downloadlinux-stable-88ea5cb7d4cc816b1e629cfc3477ceeb99fd248c.tar.gz
linux-stable-88ea5cb7d4cc816b1e629cfc3477ceeb99fd248c.tar.bz2
linux-stable-88ea5cb7d4cc816b1e629cfc3477ceeb99fd248c.zip
cifs: remove rfc1002 header from smb2_sess_setup_req
Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com> Signed-off-by: Steve French <smfrench@gmail.com> Reviewed-by: Aurelien Aptel <aaptel@suse.com> Acked-by: Pavel Shilovsky <pshilov@microsoft.com>
Diffstat (limited to 'fs/cifs/smb2pdu.h')
-rw-r--r--fs/cifs/smb2pdu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/smb2pdu.h b/fs/cifs/smb2pdu.h
index f708f978dcf1..4f80b95d02ae 100644
--- a/fs/cifs/smb2pdu.h
+++ b/fs/cifs/smb2pdu.h
@@ -282,7 +282,7 @@ struct smb2_negotiate_rsp {
#define SMB2_SESSION_REQ_FLAG_ENCRYPT_DATA 0x04
struct smb2_sess_setup_req {
- struct smb2_hdr hdr;
+ struct smb2_sync_hdr sync_hdr;
__le16 StructureSize; /* Must be 25 */
__u8 Flags;
__u8 SecurityMode;