]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 11:57:21 +0000 (13:57 +0200)
commit04ff818f84a3470ac23aafb48111593924482efb
treee7ef4edaa56a17aa65589b95d709b237d8ab9c87
parent252225b5d6415963a0ef843b90eeabf991ac3e99
cifs: do not skip link targets when an I/O fails

commit 5d7e282541fc91b831a5c4477c5d72881c623df9 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/cifs/connect.c