cifs: set correct ipc status after initial tree connect
authorPaulo Alcantara <pc@cjr.nz>
Fri, 16 Dec 2022 17:00:19 +0000 (14:00 -0300)
committerSteve French <stfrench@microsoft.com>
Fri, 16 Dec 2022 19:18:25 +0000 (13:18 -0600)
commit86fe0fa8747fb1bc4cc44fc1966e0959fe752f38
tree16f79fb94e067a366221e95235cf1badf6c2443a
parentb248586a49a7729f73c504b1e7b958caea45e927
cifs: set correct ipc status after initial tree connect

cifs_tcon::status wasn't correctly updated to TID_GOOD after
establishing initial IPC connection thus staying at TID_NEW as long as
it wasn't reconnected.

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