cifs: handle reconnect of tcon when there is no cached dfs referral
authorPaulo Alcantara <pc@cjr.nz>
Mon, 12 Jul 2021 15:38:24 +0000 (12:38 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 20 Jul 2021 14:02:00 +0000 (16:02 +0200)
commit6df445822cff00b1ce919e543312fd374be8e534
tree0bc4b67a44783de9367ef5c7917336555650e35c
parent22c018592af57166d2e04870ec878da07444047b
cifs: handle reconnect of tcon when there is no cached dfs referral

commit 507345b5ae6a57b7ecd7550ff39282ed20de7b8d upstream.

When there is no cached DFS referral of tcon->dfs_path, then reconnect
to same share.

Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Cc: <stable@vger.kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/cifs/connect.c