Fix regression which breaks DFS mounting
authorSachin Prabhu <sprabhu@redhat.com>
Tue, 6 Sep 2016 12:22:34 +0000 (13:22 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Oct 2016 07:01:33 +0000 (03:01 -0400)
commite6222f00a3aebb2d03302c09aa58b52d87d6f784
tree36bdee1aa61a47a9661f71a19270ae5905e7dd5d
parentd8f4633d765f1c9b6e11d4f56e0567f5553fd901
Fix regression which breaks DFS mounting

commit d171356ff11ab1825e456dfb979755e01b3c54a1 upstream.

Patch a6b5058 results in -EREMOTE returned by is_path_accessible() in
cifs_mount() to be ignored which breaks DFS mounting.

Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/cifs/connect.c