diff options
author | Paulo Alcantara <pc@cjr.nz> | 2023-01-31 02:33:29 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2023-02-20 20:48:48 +0300 |
commit | 3c0070f54b3128de498c2dd9934a21f0dd867111 (patch) | |
tree | 115759dc2568311988bf02bfa72e52388ca3f163 /tools/perf/scripts/python/sctop.py | |
parent | 77e3f338df79b4584ec4a518e43db38455a6dfb3 (diff) | |
download | linux-3c0070f54b3128de498c2dd9934a21f0dd867111.tar.xz |
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 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions