Paulo Alcantara 1bcd548d93 cifs: prevent data race in cifs_reconnect_tcon()
Make sure to get an up-to-date TCP_Server_Info::nr_targets value prior
to waiting the server to be reconnected in cifs_reconnect_tcon().  It
is set in cifs_tcp_ses_needs_reconnect() and protected by
TCP_Server_Info::srv_lock.

Create a new cifs_wait_for_server_reconnect() helper that can be used
by both SMB2+ and CIFS reconnect code.

Signed-off-by: Paulo Alcantara (SUSE) <pc@manguebit.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
2023-03-01 18:18:25 -06:00
..
2023-02-20 11:53:11 -08:00
2023-02-20 14:10:36 -08:00
2023-02-21 11:07:23 -08:00
2023-02-20 12:33:41 -08:00
2023-02-21 18:24:12 -08:00
2023-02-20 14:10:36 -08:00
2023-02-20 14:10:36 -08:00
2023-01-19 09:24:28 +01:00
2023-02-20 14:10:36 -08:00
2023-01-19 09:24:28 +01:00
2023-02-23 14:16:56 -08:00
2023-03-01 18:18:25 -06:00
2023-02-22 14:21:40 -08:00
2023-02-21 10:45:51 -08:00
2023-02-20 11:53:11 -08:00
2022-12-23 11:55:54 -08:00
2023-02-21 10:45:51 -08:00
2023-02-22 14:11:54 -08:00
2023-02-20 11:53:11 -08:00
2023-01-31 15:01:20 +01:00
2022-10-10 19:45:17 -07:00
2023-02-20 11:53:11 -08:00
2023-02-20 11:53:11 -08:00
2023-02-20 14:10:36 -08:00
2022-10-10 14:21:11 -07:00
2023-02-20 11:53:11 -08:00
2023-02-21 10:45:51 -08:00
2023-02-20 14:10:36 -08:00
2023-01-19 09:24:30 +01:00
2023-02-22 14:21:40 -08:00
2023-01-19 09:24:30 +01:00
2023-02-20 12:03:55 -08:00
2022-12-21 14:45:25 +01:00
2023-02-20 12:14:33 -08:00
2023-02-20 11:53:11 -08:00
2023-02-20 14:10:36 -08:00
2023-02-20 11:53:11 -08:00
2023-02-20 11:53:11 -08:00