cifs: Add support for failover in cifs_reconnect()
authorPaulo Alcantara <palcantara@suse.de>
Wed, 14 Nov 2018 19:13:25 +0000 (17:13 -0200)
committerSteve French <stfrench@microsoft.com>
Fri, 28 Dec 2018 16:13:11 +0000 (10:13 -0600)
commit93d5cb517db39e8af8d1292f9e785e4983b7f708
treeda84893e19fdc2d854d5983b7d54b7b2ce552baa
parent4a367dc0443566f87d73f2cdb94703b0e1374315
cifs: Add support for failover in cifs_reconnect()

After failing to reconnect to original target, it will retry any
target available from DFS cache.

Signed-off-by: Paulo Alcantara <palcantara@suse.de>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifs_fs_sb.h
fs/cifs/cifsglob.h
fs/cifs/connect.c