cifs: introduce cifs_ses_mark_for_reconnect() helper 5.16-rc1-smb3-fixes
authorPaulo Alcantara <pc@cjr.nz>
Tue, 16 Nov 2021 16:38:58 +0000 (13:38 -0300)
committerSteve French <stfrench@microsoft.com>
Tue, 16 Nov 2021 16:57:08 +0000 (10:57 -0600)
commit8ae87bbeb5d1bfd4ddf2f73f72be51d02d6be2eb
tree85dc294eabd65bf74decdc3e214d6697e7e6b933
parent446e21482e8c10b96d540862c5f6a37009436f00
cifs: introduce cifs_ses_mark_for_reconnect() helper

Use new cifs_ses_mark_for_reconnect() helper to mark all session
channels for reconnect instead of duplicating it in different places.

Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifs_swn.c
fs/cifs/cifsproto.h
fs/cifs/connect.c
fs/cifs/dfs_cache.c
fs/cifs/sess.c