cifs: set correct status of tcon ipc when reconnecting
authorPaulo Alcantara <pc@cjr.nz>
Sun, 18 Dec 2022 00:04:14 +0000 (21:04 -0300)
committerSteve French <stfrench@microsoft.com>
Mon, 19 Dec 2022 14:03:12 +0000 (08:03 -0600)
commit25cf01b7c9200d6ace5a59125d8166435dd9dea7
tree8f3d0399fc35875daa4d63f3ac249f42991452e7
parent6fbdd5ab240443e3f8574eb9d407d03daace1ddc
cifs: set correct status of tcon ipc when reconnecting

The status of tcon ipcs were not being set to TID_NEED_RECO when
marking sessions and tcons to be reconnected, therefore not sending
tree connect to those ipcs in cifs_tree_connect() and leaving them
disconnected.

Cc: stable@vger.kernel.org
Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/connect.c