]> 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)
commitdb63e70423ff5b414dd334c4b3f37b14733d637b
treed4586f3fa9f0d75ab2f2feca3dd5a96853a82011
parent1f7ca980eae89cb0ec8927dce4a2b99b1b686efe
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