cifs: fix SMB1 breakage
SMB1 mounting broke in commit 35e2cc1b ("cifs: Use correct packet length in SMB2_TRANSFORM header") Fix it and also rename smb2_rqst_len to smb_rqst_len to make it less unobvious that the function is also called from CIFS/SMB1 Good job by Paulo reviewing and cleaning up Ronnie's original patch. Signed-off-by:Ronnie Sahlberg <lsahlber@redhat.com> Reviewed-by:
Paulo Alcantara <palcantara@suse.de> Signed-off-by:
Steve French <stfrench@microsoft.com>
Showing
- fs/cifs/smb2ops.c 1 addition, 1 deletionfs/cifs/smb2ops.c
- fs/cifs/smb2proto.h 2 additions, 2 deletionsfs/cifs/smb2proto.h
- fs/cifs/smbdirect.c 3 additions, 2 deletionsfs/cifs/smbdirect.c
- fs/cifs/smbdirect.h 2 additions, 2 deletionsfs/cifs/smbdirect.h
- fs/cifs/transport.c 5 additions, 4 deletionsfs/cifs/transport.c
Loading
Please register or sign in to comment