This is a note to let you know that I've just added the patch titled cifs: set correct tcon status after initial tree connect to the 6.0-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: cifs-set-correct-tcon-status-after-initial-tree-connect.patch and it can be found in the queue-6.0 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From b248586a49a7729f73c504b1e7b958caea45e927 Mon Sep 17 00:00:00 2001 From: Paulo Alcantara <pc@xxxxxx> Date: Tue, 13 Dec 2022 09:15:23 -0300 Subject: cifs: set correct tcon status after initial tree connect From: Paulo Alcantara <pc@xxxxxx> commit b248586a49a7729f73c504b1e7b958caea45e927 upstream. 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@xxxxxxxxxxxxxxx Signed-off-by: Paulo Alcantara (SUSE) <pc@xxxxxx> Signed-off-by: Steve French <stfrench@xxxxxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- fs/cifs/connect.c | 1 + 1 file changed, 1 insertion(+) --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c @@ -2600,6 +2600,7 @@ cifs_get_tcon(struct cifs_ses *ses, stru tcon->nodelete = ctx->nodelete; tcon->local_lease = ctx->local_lease; INIT_LIST_HEAD(&tcon->pending_opens); + tcon->status = TID_GOOD; /* schedule query interfaces poll */ INIT_DELAYED_WORK(&tcon->query_interfaces, Patches currently in stable-queue which might be from pc@xxxxxx are queue-6.0/cifs-fix-missing-display-of-three-mount-options.patch queue-6.0/cifs-set-correct-status-of-tcon-ipc-when-reconnecting.patch queue-6.0/cifs-set-correct-ipc-status-after-initial-tree-connect.patch queue-6.0/cifs-fix-confusing-debug-message.patch queue-6.0/cifs-set-correct-tcon-status-after-initial-tree-connect.patch