[PATCH] cifs: Do not sleep interruptible after socket connect failure
.. since it can be due to pending kill. Update readme information to better describe cifs umount Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:

committed by
Linus Torvalds

parent
31ca3bc3c5
commit
0cb766ae62
@@ -178,8 +178,7 @@ cifs_reconnect(struct TCP_Server_Info *server)
|
||||
server->workstation_RFC1001_name);
|
||||
}
|
||||
if(rc) {
|
||||
set_current_state(TASK_INTERRUPTIBLE);
|
||||
schedule_timeout(3 * HZ);
|
||||
msleep(3000);
|
||||
} else {
|
||||
atomic_inc(&tcpSesReconnectCount);
|
||||
spin_lock(&GlobalMid_Lock);
|
||||
|
Reference in New Issue
Block a user