diff options
Diffstat (limited to 'fs/cifs/connect.c')
-rw-r--r-- | fs/cifs/connect.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index 3217ac5f6bd7..2335f14a1583 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c | |||
@@ -3215,10 +3215,8 @@ cifs_umount(struct super_block *sb, struct cifs_sb_info *cifs_sb) | |||
3215 | } | 3215 | } |
3216 | 3216 | ||
3217 | cifs_sb->tcon = NULL; | 3217 | cifs_sb->tcon = NULL; |
3218 | if (ses) { | 3218 | if (ses) |
3219 | set_current_state(TASK_INTERRUPTIBLE); | 3219 | schedule_timeout_interruptible(msecs_to_jiffies(500)); |
3220 | schedule_timeout(HZ / 2); | ||
3221 | } | ||
3222 | if (ses) | 3220 | if (ses) |
3223 | sesInfoFree(ses); | 3221 | sesInfoFree(ses); |
3224 | 3222 | ||