cifs: New optype for session operations.
authorShyam Prasad N <sprasad@microsoft.com>
Thu, 4 Feb 2021 06:49:52 +0000 (22:49 -0800)
committerSteve French <stfrench@microsoft.com>
Tue, 16 Feb 2021 21:35:57 +0000 (15:35 -0600)
commit0f56db831456cb4bf85a15c7a900b7138d89b6eb
tree5f4068bd598501855a5c21295de9da82ff1fc33d
parent731ddc09c25b0c5037fe51b943cb9b2ff9f18191
cifs: New optype for session operations.

We used to share the CIFS_NEG_OP flag between negotiate and
session authentication. There was an assumption in the code that
CIFS_NEG_OP is used by negotiate only. So introcuded CIFS_SESS_OP
and used it for session setup optypes.

Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifsglob.h
fs/cifs/smb2ops.c
fs/cifs/smb2pdu.c
fs/cifs/transport.c