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>
Thu, 21 Jul 2022 15:40:00 +0000 (10:40 -0500)
commit9cf9a3b8172b1fe579b8eca7040ac25c1237840d
tree7cedd0883025ec7231dcd5e54c2b9e39857844a3
parent13b795c3829ab7a3a8ce8e7acd4c85c5c1d599a5
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