]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: remove header_preamble_size where it is always 0
authorRonnie Sahlberg <lsahlber@redhat.com>
Fri, 1 Jun 2018 00:53:07 +0000 (10:53 +1000)
committerSteve French <stfrench@microsoft.com>
Fri, 1 Jun 2018 14:14:30 +0000 (09:14 -0500)
commitf6f85a796c2cc15d825b3561a87a98c089b2fbb6
treed4586f3fa9f0d75ab2f2feca3dd5a96853a82011
parentcc4bd439c53aad37fb129a885af335c69ca71f7c
cifs: remove header_preamble_size where it is always 0

Since header_preamble_size is 0 for SMB2+ we can remove it in those
code paths that are only invoked from SMB2.

Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smb2misc.c
fs/cifs/smb2ops.c
fs/cifs/smb2pdu.c