cifs: set correct tcon status after initial tree connect
authorPaulo Alcantara <pc@cjr.nz>
Tue, 13 Dec 2022 12:15:23 +0000 (09:15 -0300)
committerSteve French <stfrench@microsoft.com>
Fri, 16 Dec 2022 00:37:18 +0000 (18:37 -0600)
commitb248586a49a7729f73c504b1e7b958caea45e927
tree30c8070f4353e8eced56020678c20a92a56242b6
parent851f657a86421dded42b6175c6ea0f4f5e86af97
cifs: set correct tcon status after initial tree connect

cifs_tcon::status wasn't correctly updated to TID_GOOD after initial
tree connect thus staying at TID_NEW as long as it was connected.

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