summaryrefslogtreecommitdiffstats
path: root/fs/cifs
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2007-05-24 02:29:51 +0000
committerSteve French <sfrench@us.ibm.com>2007-05-24 02:29:51 +0000
commitf7f7c31c98830e5f4aa5486b8aabb7f3bf4a2512 (patch)
tree336f0a33330486d36cf4a945dba675463f9f7d7e /fs/cifs
parent28356a1679006b110215596e057f304ef3083922 (diff)
downloadblackbird-op-linux-f7f7c31c98830e5f4aa5486b8aabb7f3bf4a2512.tar.gz
blackbird-op-linux-f7f7c31c98830e5f4aa5486b8aabb7f3bf4a2512.zip
[CIFS] typo in previous patch
(also fixed missing space after if) Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs')
-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,
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);
}
OpenPOWER on IntegriCloud