Skip to content

Commit

Permalink
[CIFS] typo in previous patch
Browse files Browse the repository at this point in the history
(also fixed missing space after if)

Signed-off-by: Steve French <sfrench@us.ibm.com>
  • Loading branch information
Steve French committed May 24, 2007
1 parent 28356a1 commit f7f7c31
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fs/cifs/connect.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand All @@ -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
Expand Down Expand Up @@ -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);
}
Expand Down

0 comments on commit f7f7c31

Please sign in to comment.