]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2c41361e2b8ba0b8382919359a6716aa0f1f2ae3
tree1b85cb50f937532b3d9db550f629ac5d1091edb7
parent4801a91f6387f29f27d569cf13436bcc0de729a2
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