cifs: do not skip link targets when an I/O fails
authorPaulo Alcantara <pc@cjr.nz>
Fri, 4 Mar 2022 16:22:15 +0000 (13:22 -0300)
committerSteve French <stfrench@microsoft.com>
Tue, 22 Mar 2022 04:30:14 +0000 (23:30 -0500)
commit5d7e282541fc91b831a5c4477c5d72881c623df9
treeef49f0e9acc8da6dff8b297bca7e8c58207eabd7
parentdca65818c80cf06e0f08ba2cf94060a5236e73c2
cifs: do not skip link targets when an I/O fails

When I/O fails in one of the currently connected DFS targets, retry it
from other targets as specified in MS-DFSC "3.1.5.2 I/O Operation to
+Target Fails with an Error Other Than STATUS_PATH_NOT_COVERED."

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