cifs: introduce new helper for cifs_reconnect()
authorPaulo Alcantara <pc@cjr.nz>
Thu, 14 Oct 2021 16:57:21 +0000 (13:57 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Dec 2022 16:40:59 +0000 (17:40 +0100)
commitb3ce844d234f67e1b6a1928c7ca167587bccd9d4
tree8195af04e633e4f7fbce2a9e4d6bf69a2b7cdc89
parent2ea600b598dd3e061854dd4dd5b4c815397dfcea
cifs: introduce new helper for cifs_reconnect()

[ Upstream commit 43b459aa5e222cb6610dac8723b40c19532ea00d ]

Create cifs_mark_tcp_ses_conns_for_reconnect() helper to mark all
sessions and tcons for reconnect when reconnecting tcp server.

Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Reviewed-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Stable-dep-of: 1dcdf5f5b213 ("cifs: Fix connections leak when tlink setup failed")
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/cifs/connect.c