cifs: call cifs_reconnect when a connection is marked
authorShyam Prasad N <sprasad@microsoft.com>
Tue, 8 Feb 2022 19:28:28 +0000 (19:28 +0000)
committerSteve French <stfrench@microsoft.com>
Tue, 8 Feb 2022 19:52:39 +0000 (13:52 -0600)
commita81da65fbae6436e1e2f415532b8aacc3274d840
treeac2778cb8ebac74cba727da39f411951cbe3726c
parentd0cbe56a7d5ac170f6cf3757ef5a14dd854e7da9
cifs: call cifs_reconnect when a connection is marked

In cifsd thread, we should continue to call cifs_reconnect
whenever server->tcpStatus is marked as CifsNeedReconnect.
This was inexplicably removed by one of my recent commits.
Fixing that here.

Fixes: a05885ce13bd ("cifs: fix the connection state transitions with multichannel")
Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/connect.c