diff options
Diffstat (limited to 'fs/cifs/connect.c')
-rw-r--r-- | fs/cifs/connect.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index ac1f970e5369..e568cc47a7f9 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c | |||
@@ -178,8 +178,7 @@ cifs_reconnect(struct TCP_Server_Info *server) | |||
178 | server->workstation_RFC1001_name); | 178 | server->workstation_RFC1001_name); |
179 | } | 179 | } |
180 | if(rc) { | 180 | if(rc) { |
181 | set_current_state(TASK_INTERRUPTIBLE); | 181 | msleep(3000); |
182 | schedule_timeout(3 * HZ); | ||
183 | } else { | 182 | } else { |
184 | atomic_inc(&tcpSesReconnectCount); | 183 | atomic_inc(&tcpSesReconnectCount); |
185 | spin_lock(&GlobalMid_Lock); | 184 | spin_lock(&GlobalMid_Lock); |