Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 232946
b: refs/heads/master
c: d402539
h: refs/heads/master
v: v3
  • Loading branch information
Jeff Layton authored and Steve French committed Feb 7, 2011
1 parent 13f074d commit 01aa196
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8132b65bc6ce6d9a4baafdfc28c7cd9c258ed6e4
refs/heads/master: d402539b8fc3fa21f16eb5e654be742670399e8a
5 changes: 1 addition & 4 deletions trunk/fs/cifs/cifssmb.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,6 @@ cifs_reconnect_tcon(struct cifsTconInfo *tcon, int smb_command)
}
}

if (ses->status == CifsExiting)
return -EIO;

/*
* Give demultiplex thread up to 10 seconds to reconnect, should be
* greater than cifs socket timeout which is 7 seconds
Expand All @@ -156,7 +153,7 @@ cifs_reconnect_tcon(struct cifsTconInfo *tcon, int smb_command)
* retrying until process is killed or server comes
* back on-line
*/
if (!tcon->retry || ses->status == CifsExiting) {
if (!tcon->retry) {
cFYI(1, "gave up waiting on reconnect in smb_init");
return -EHOSTDOWN;
}
Expand Down

0 comments on commit 01aa196

Please sign in to comment.