diff options
author | Shyam Prasad N <sprasad@microsoft.com> | 2021-11-17 18:57:22 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2022-01-19 20:10:54 +0300 |
commit | a05885ce13bd5ec9602551e32dfb1a4f26bfa542 (patch) | |
tree | 94a1cac46336c579e214e46dc7e34cb519ddbd71 /fs/cifs/smb2pdu.c | |
parent | 3663c9045f51a7ad635a0785adef07c21b79b560 (diff) | |
download | linux-a05885ce13bd5ec9602551e32dfb1a4f26bfa542.tar.xz |
cifs: fix the connection state transitions with multichannel
Recent changes to multichannel required some adjustments in
the way connection states transitioned during/after reconnect.
Also some minor fixes:
1. A pending switch of GlobalMid_Lock to cifs_tcp_ses_lock
2. Relocations of the code that logs reconnect
3. Changed some code in allocate_mid to suit the new scheme
Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/smb2pdu.c')
-rw-r--r-- | fs/cifs/smb2pdu.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/cifs/smb2pdu.c b/fs/cifs/smb2pdu.c index 41b6dffc84c7..6d8cfe15fbaf 100644 --- a/fs/cifs/smb2pdu.c +++ b/fs/cifs/smb2pdu.c @@ -1393,7 +1393,6 @@ SMB2_sess_establish_session(struct SMB2_sess_data *sess_data) /* Even if one channel is active, session is in good state */ spin_lock(&cifs_tcp_ses_lock); - server->tcpStatus = CifsGood; ses->status = CifsGood; spin_unlock(&cifs_tcp_ses_lock); |