aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/cifs/connect.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
index f6963d183c53..f4e92661b223 100644
--- a/fs/cifs/connect.c
+++ b/fs/cifs/connect.c
@@ -2077,7 +2077,7 @@ cifs_mount(struct super_block *sb, struct cifs_sb_info *cifs_sb,
2077 send_sig(SIGKILL,srvTcp->tsk,1); 2077 send_sig(SIGKILL,srvTcp->tsk,1);
2078 tsk = srvTcp->tsk; 2078 tsk = srvTcp->tsk;
2079 if(tsk) 2079 if(tsk)
2080 kthread_stop(srvTcp->tsk); 2080 kthread_stop(tsk);
2081 } 2081 }
2082 } 2082 }
2083 /* If find_unc succeeded then rc == 0 so we can not end */ 2083 /* If find_unc succeeded then rc == 0 so we can not end */
@@ -2095,7 +2095,7 @@ cifs_mount(struct super_block *sb, struct cifs_sb_info *cifs_sb,
2095 struct task_struct *tsk; 2095 struct task_struct *tsk;
2096 send_sig(SIGKILL,pSesInfo->server->tsk,1); 2096 send_sig(SIGKILL,pSesInfo->server->tsk,1);
2097 tsk = pSesInfo->server->tsk; 2097 tsk = pSesInfo->server->tsk;
2098 if(tsk) 2098 if (tsk)
2099 kthread_stop(tsk); 2099 kthread_stop(tsk);
2100 } 2100 }
2101 } else 2101 } else
@@ -3344,7 +3344,7 @@ cifs_umount(struct super_block *sb, struct cifs_sb_info *cifs_sb)
3344 return 0; 3344 return 0;
3345 } else if (rc == -ESHUTDOWN) { 3345 } else if (rc == -ESHUTDOWN) {
3346 cFYI(1,("Waking up socket by sending it signal")); 3346 cFYI(1,("Waking up socket by sending it signal"));
3347 if(cifsd_task) { 3347 if (cifsd_task) {
3348 send_sig(SIGKILL,cifsd_task,1); 3348 send_sig(SIGKILL,cifsd_task,1);
3349 kthread_stop(cifsd_task); 3349 kthread_stop(cifsd_task);
3350 } 3350 }