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>
Sat, 16 Jul 2022 19:44:41 +0000 (14:44 -0500)
commit7433a0396da86ab251b2896207844bb408927ed5
tree379077f77038cb8ab98ca4ff97af3cf0aa987230
parent0750fac198dfc991d382198e49c26f76ae4539b6
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