aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs
diff options
context:
space:
mode:
Diffstat (limited to 'fs/cifs')
-rw-r--r--fs/cifs/transport.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/cifs/transport.c b/fs/cifs/transport.c
index c41c9c4f0a79..f65cdec042e4 100644
--- a/fs/cifs/transport.c
+++ b/fs/cifs/transport.c
@@ -374,10 +374,8 @@ sync_mid_result(struct mid_q_entry *mid, struct TCP_Server_Info *server)
374 if (mid->midState == MID_REQUEST_SUBMITTED) { 374 if (mid->midState == MID_REQUEST_SUBMITTED) {
375 if (server->tcpStatus == CifsExiting) 375 if (server->tcpStatus == CifsExiting)
376 rc = -EHOSTDOWN; 376 rc = -EHOSTDOWN;
377 else { 377 else
378 server->tcpStatus = CifsNeedReconnect;
379 mid->midState = MID_RETRY_NEEDED; 378 mid->midState = MID_RETRY_NEEDED;
380 }
381 } 379 }
382 380
383 if (rc != -EHOSTDOWN) { 381 if (rc != -EHOSTDOWN) {