cifs: make status checks in version independent callers
authorShyam Prasad N <sprasad@microsoft.com>
Sun, 16 Jan 2022 13:38:14 +0000 (13:38 +0000)
committerSteve French <stfrench@microsoft.com>
Wed, 19 Jan 2022 17:10:55 +0000 (11:10 -0600)
commitc1604da708d345a1ca1cf6a5537d503b14aa4787
tree1b85cb50f937532b3d9db550f629ac5d1091edb7
parentece0767641740c7eea7aee5a332728e115b00eab
cifs: make status checks in version independent callers

The status of tcp session, smb session and tcon have the
same flow, irrespective of the SMB version used. Hence
these status checks and updates should happen in the
version independent callers of these commands.

Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/connect.c
fs/cifs/sess.c
fs/cifs/smb2pdu.c