cifs: force new session setup and tcon for dfs
authorPaulo Alcantara <pc@cjr.nz>
Fri, 1 Apr 2022 16:51:34 +0000 (13:51 -0300)
committerSteve French <stfrench@microsoft.com>
Tue, 5 Apr 2022 03:39:21 +0000 (22:39 -0500)
commitfb39d30e227233498c8debe6a9fe3e7cf575c85f
tree405b706252ed92676a1bd5379dda8f2f3089e7ea
parent00c796eecba4898194ea549679797ee28f89a92f
cifs: force new session setup and tcon for dfs

Do not reuse existing sessions and tcons in DFS failover as it might
connect to different servers and shares.

Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Cc: stable@vger.kernel.org
Reviewed-by: Enzo Matsumiya <ematsumiya@suse.de>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/connect.c