]> 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)
commit5bb98a1f68c7049b17087687723a746aa8b887b8
tree1b85cb50f937532b3d9db550f629ac5d1091edb7
parent66c5ed7879c80d629ded2f5129c54f6442f86683
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