CIFS: Add capability to send SMB2 negotiate message
and add negotiate request type to let set_credits know that we are only on negotiate stage and no need to make a decision about disabling echos and oplocks. Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru> Signed-off-by: Steve French <smfrench@gmail.com>
This commit is contained in:

committed by
Pavel Shilovsky

parent
3792c17328
commit
ec2e4523fd
@@ -388,13 +388,6 @@ vt2_err:
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
static inline void inc_rfc1001_len(void *pSMB, int count)
|
||||
{
|
||||
struct smb_hdr *hdr = (struct smb_hdr *)pSMB;
|
||||
|
||||
be32_add_cpu(&hdr->smb_buf_length, count);
|
||||
}
|
||||
|
||||
int
|
||||
CIFSSMBNegotiate(const unsigned int xid, struct cifs_ses *ses)
|
||||
{
|
||||
|
Reference in New Issue
Block a user