cifs: update calc_size to take a server argument
authorRonnie Sahlberg <lsahlber@redhat.com>
Sun, 22 Apr 2018 21:30:12 +0000 (15:30 -0600)
committerSteve French <stfrench@microsoft.com>
Sun, 27 May 2018 22:56:35 +0000 (17:56 -0500)
commit9ec672bd17131fe26c966960a573a76fdb1da323
tree92fe6dc479fbaca3f2e260a3a5bf6f5b1f750382
parent14547f7d74c4a2583214693f69d45374b8028649
cifs: update calc_size to take a server argument

and change the smb2 version to take heder_preamble_size into account
instead of hardcoding it as 4 bytes.

Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/cifsglob.h
fs/cifs/cifsproto.h
fs/cifs/misc.c
fs/cifs/netmisc.c
fs/cifs/readdir.c
fs/cifs/smb2misc.c
fs/cifs/smb2proto.h