Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 30269
b: refs/heads/master
c: cf2dfbf
h: refs/heads/master
i:
  30267: dd9edc8
v: v3
  • Loading branch information
Oleg Nesterov authored and Linus Torvalds committed Jun 26, 2006
1 parent 89f6fc3 commit 0bcf0f6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 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: 5debfa6da5b06954bc79fe8deed0d1062c58dcec
refs/heads/master: cf2dfbfbf4c5cb489ea12defd85a484307b955b8
12 changes: 0 additions & 12 deletions trunk/kernel/fork.c
Original file line number Diff line number Diff line change
Expand Up @@ -1156,18 +1156,6 @@ static task_t *copy_process(unsigned long clone_flags,
}

if (clone_flags & CLONE_THREAD) {
/*
* Important: if an exit-all has been started then
* do not create this new thread - the whole thread
* group is supposed to exit anyway.
*/
if (current->signal->flags & SIGNAL_GROUP_EXIT) {
spin_unlock(&current->sighand->siglock);
write_unlock_irq(&tasklist_lock);
retval = -EAGAIN;
goto bad_fork_cleanup_namespace;
}

p->group_leader = current->group_leader;
list_add_tail_rcu(&p->thread_group, &p->group_leader->thread_group);

Expand Down

0 comments on commit 0bcf0f6

Please sign in to comment.