OSDN Git Service

cifs: check reconnects for channels of active tcons too
authorShyam Prasad N <sprasad@microsoft.com>
Sat, 30 Oct 2021 04:51:35 +0000 (04:51 +0000)
committerSteve French <stfrench@microsoft.com>
Wed, 19 Jan 2022 17:10:54 +0000 (11:10 -0600)
commit3663c9045f51a7ad635a0785adef07c21b79b560
tree53f200214258197558da36b26c4d427338fb14dc
parente4e2787bef7e643511cf0f352deb6bd16e7fa9b4
cifs: check reconnects for channels of active tcons too

With the new multichannel logic, when a channel needs reconnection,
the tree connect and other channels can still be active.
This fix will handle cases of checking for channel reconnect,
when the tcon does not need reconnect.

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