OSDN Git Service

cifs: split out dfs code from cifs_reconnect()
authorPaulo Alcantara <pc@cjr.nz>
Thu, 14 Oct 2021 20:49:54 +0000 (17:49 -0300)
committerSteve French <stfrench@microsoft.com>
Wed, 10 Nov 2021 05:01:55 +0000 (23:01 -0600)
commitbbcce368044572d0802c3bbb8ef3fe98f581d803
tree5ff5395c71473caf26d46a8216c03ebef0589bc8
parentae0abb4dac8ff22d84ae0bc7d5b74c4691f3ad25
cifs: split out dfs code from cifs_reconnect()

Make two separate functions that handle dfs and non-dfs reconnect
logics since cifs_reconnect() became way too complex to handle both.
While at it, add some documentation.

Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Reviewed-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/connect.c