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>
Showing
- fs/cifs/cifsglob.h 1 addition, 1 deletionfs/cifs/cifsglob.h
- fs/cifs/cifsproto.h 1 addition, 1 deletionfs/cifs/cifsproto.h
- fs/cifs/misc.c 1 addition, 1 deletionfs/cifs/misc.c
- fs/cifs/netmisc.c 1 addition, 1 deletionfs/cifs/netmisc.c
- fs/cifs/readdir.c 4 additions, 2 deletionsfs/cifs/readdir.c
- fs/cifs/smb2misc.c 7 additions, 7 deletionsfs/cifs/smb2misc.c
- fs/cifs/smb2proto.h 1 addition, 1 deletionfs/cifs/smb2proto.h
Please register or sign in to comment