diff --git a/[refs] b/[refs] index 911340fef0bb..0ae9ba83ed3b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5debfa6da5b06954bc79fe8deed0d1062c58dcec +refs/heads/master: cf2dfbfbf4c5cb489ea12defd85a484307b955b8 diff --git a/trunk/kernel/fork.c b/trunk/kernel/fork.c index 79e91046f36e..9b4e54ef0225 100644 --- a/trunk/kernel/fork.c +++ b/trunk/kernel/fork.c @@ -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(¤t->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);