diff options
author | Shyam Prasad N <sprasad@microsoft.com> | 2021-10-30 06:51:35 +0200 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2022-01-19 18:10:54 +0100 |
commit | 3663c9045f51a7ad635a0785adef07c21b79b560 (patch) | |
tree | 53f200214258197558da36b26c4d427338fb14dc /fs/cifs/cifsglob.h | |
parent | smb3: add new defines from protocol specification (diff) | |
download | linux-3663c9045f51a7ad635a0785adef07c21b79b560.tar.xz linux-3663c9045f51a7ad635a0785adef07c21b79b560.zip |
cifs: check reconnects for channels of active tcons too
With the new multichannel logic, when a channel needs reconnection,
the tree connect and other channels can still be active.
This fix will handle cases of checking for channel reconnect,
when the tcon does not need reconnect.
Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r-- | fs/cifs/cifsglob.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index f84978b76bb6..cace0818d510 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h @@ -117,6 +117,7 @@ enum statusEnum { CifsInSessSetup, CifsNeedTcon, CifsInTcon, + CifsNeedFilesInvalidate, CifsInFilesInvalidate }; @@ -923,6 +924,7 @@ struct cifs_chan { */ struct cifs_ses { struct list_head smb_ses_list; + struct list_head rlist; /* reconnect list */ struct list_head tcon_list; struct cifs_tcon *tcon_ipc; struct mutex session_mutex; |