]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: Simplify reconnect code when dfs upcall is enabled
authorSamuel Cabrero <scabrero@suse.de>
Mon, 30 Nov 2020 18:02:55 +0000 (19:02 +0100)
committerSteve French <stfrench@microsoft.com>
Mon, 14 Dec 2020 15:16:23 +0000 (09:16 -0600)
commit049cc546c73dc50a875b1ccf56ffb100744826f2
tree8752d625b7d2c3bb3d2838f067e217e74d5ea0ec
parent697dba58f03c0521f8a9cdf3481701e7fad67bf5
cifs: Simplify reconnect code when dfs upcall is enabled

Some witness notifications, like client move, tell the client to
reconnect to a specific IP address. In this situation the DFS failover
code path has to be skipped so clean up as much as possible the
cifs_reconnect() code.

Signed-off-by: Samuel Cabrero <scabrero@suse.de>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/connect.c