diff options
author | Shyam Prasad N <sprasad@microsoft.com> | 2021-11-17 16:57:22 +0100 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2022-01-19 18:10:54 +0100 |
commit | a05885ce13bd5ec9602551e32dfb1a4f26bfa542 (patch) | |
tree | 94a1cac46336c579e214e46dc7e34cb519ddbd71 /fs/cifs/sess.c | |
parent | cifs: check reconnects for channels of active tcons too (diff) | |
download | linux-a05885ce13bd5ec9602551e32dfb1a4f26bfa542.tar.xz linux-a05885ce13bd5ec9602551e32dfb1a4f26bfa542.zip |
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/sess.c')
-rw-r--r-- | fs/cifs/sess.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/cifs/sess.c b/fs/cifs/sess.c index 50ca479d7039..e7fddd4a5990 100644 --- a/fs/cifs/sess.c +++ b/fs/cifs/sess.c @@ -1054,7 +1054,6 @@ sess_establish_session(struct 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); |