diff options
| author | Paulo Alcantara <pc@cjr.nz> | 2023-01-30 20:33:29 -0300 |
|---|---|---|
| committer | Steve French <stfrench@microsoft.com> | 2023-02-20 11:48:48 -0600 |
| commit | 3c0070f54b3128de498c2dd9934a21f0dd867111 (patch) | |
| tree | 115759dc2568311988bf02bfa72e52388ca3f163 /drivers/fpga/fpga-bridge.c | |
| parent | 77e3f338df79b4584ec4a518e43db38455a6dfb3 (diff) | |
cifs: prevent data race in smb2_reconnect()
Make sure to get an up-to-date TCP_Server_Info::nr_targets value prior
to waiting the server to be reconnected in smb2_reconnect(). It is
set in cifs_tcp_ses_needs_reconnect() and protected by
TCP_Server_Info::srv_lock.
Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions
