|
@@ -784,7 +784,6 @@ static int de_thread(struct task_struct *tsk)
|
|
* and we can just re-use it all.
|
|
* and we can just re-use it all.
|
|
*/
|
|
*/
|
|
if (atomic_read(&oldsighand->count) <= 1) {
|
|
if (atomic_read(&oldsighand->count) <= 1) {
|
|
- BUG_ON(atomic_read(&sig->count) != 1);
|
|
|
|
signalfd_detach(tsk);
|
|
signalfd_detach(tsk);
|
|
exit_itimers(sig);
|
|
exit_itimers(sig);
|
|
return 0;
|
|
return 0;
|
|
@@ -929,8 +928,6 @@ no_thread_group:
|
|
if (leader)
|
|
if (leader)
|
|
release_task(leader);
|
|
release_task(leader);
|
|
|
|
|
|
- BUG_ON(atomic_read(&sig->count) != 1);
|
|
|
|
-
|
|
|
|
if (atomic_read(&oldsighand->count) == 1) {
|
|
if (atomic_read(&oldsighand->count) == 1) {
|
|
/*
|
|
/*
|
|
* Now that we nuked the rest of the thread group,
|
|
* Now that we nuked the rest of the thread group,
|