From d23d057654720ce1d87f3b6e11a1fddd641507a6 Mon Sep 17 00:00:00 2001 From: Steve French Date: Thu, 24 May 2007 02:29:51 +0000 Subject: [PATCH] --- yaml --- r: 57569 b: refs/heads/master c: f7f7c31c98830e5f4aa5486b8aabb7f3bf4a2512 h: refs/heads/master i: 57567: b2795480bc8734259a1bfaee6a66add37128713b v: v3 --- [refs] | 2 +- trunk/fs/cifs/connect.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index a3b340cf339c..394dc5b4ae37 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 28356a1679006b110215596e057f304ef3083922 +refs/heads/master: f7f7c31c98830e5f4aa5486b8aabb7f3bf4a2512 diff --git a/trunk/fs/cifs/connect.c b/trunk/fs/cifs/connect.c index f6963d183c53..f4e92661b223 100644 --- a/trunk/fs/cifs/connect.c +++ b/trunk/fs/cifs/connect.c @@ -2077,7 +2077,7 @@ cifs_mount(struct super_block *sb, struct cifs_sb_info *cifs_sb, send_sig(SIGKILL,srvTcp->tsk,1); tsk = srvTcp->tsk; if(tsk) - kthread_stop(srvTcp->tsk); + kthread_stop(tsk); } } /* 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, struct task_struct *tsk; send_sig(SIGKILL,pSesInfo->server->tsk,1); tsk = pSesInfo->server->tsk; - if(tsk) + if (tsk) kthread_stop(tsk); } } else @@ -3344,7 +3344,7 @@ cifs_umount(struct super_block *sb, struct cifs_sb_info *cifs_sb) return 0; } else if (rc == -ESHUTDOWN) { cFYI(1,("Waking up socket by sending it signal")); - if(cifsd_task) { + if (cifsd_task) { send_sig(SIGKILL,cifsd_task,1); kthread_stop(cifsd_task); }