]> 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)
commit7d6535b720421d58886d5590ffc3617d359aa871
tree8752d625b7d2c3bb3d2838f067e217e74d5ea0ec
parent21077c62e178e637e6291c669d2681c9570f7a08
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