Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 139697
b: refs/heads/master
c: 95a3540
h: refs/heads/master
i:
  139695: 8c9d6a4
v: v3
  • Loading branch information
Oleg Nesterov authored and Linus Torvalds committed Apr 3, 2009
1 parent 9604f28 commit 00411cf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bb24c679a51b1a9b726b901330649e3861814ac0
refs/heads/master: 95a3540da9c81a5987be810e1d9a83640a366bd5
4 changes: 0 additions & 4 deletions trunk/kernel/ptrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -301,11 +301,7 @@ int ptrace_detach(struct task_struct *child, unsigned int data)
*/
if (child->ptrace) {
child->exit_code = data;

dead = __ptrace_detach(current, child);

if (!child->exit_state)
wake_up_process(child);
}
write_unlock_irq(&tasklist_lock);

Expand Down

0 comments on commit 00411cf

Please sign in to comment.