]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdc9696bb49568d1f7be1974127c8319738684ea5
tree5ff5395c71473caf26d46a8216c03ebef0589bc8
parent40a75d05559ddc0af384f101e72ecd6dd8b51d68
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