aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/exec.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/exec.c b/fs/exec.c
index af4361c927a9..c21a8cc06277 100644
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -784,7 +784,6 @@ static int de_thread(struct task_struct *tsk)
784 * and we can just re-use it all. 784 * and we can just re-use it all.
785 */ 785 */
786 if (atomic_read(&oldsighand->count) <= 1) { 786 if (atomic_read(&oldsighand->count) <= 1) {
787 BUG_ON(atomic_read(&sig->count) != 1);
788 signalfd_detach(tsk); 787 signalfd_detach(tsk);
789 exit_itimers(sig); 788 exit_itimers(sig);
790 return 0; 789 return 0;
@@ -929,8 +928,6 @@ no_thread_group:
929 if (leader) 928 if (leader)
930 release_task(leader); 929 release_task(leader);
931 930
932 BUG_ON(atomic_read(&sig->count) != 1);
933
934 if (atomic_read(&oldsighand->count) == 1) { 931 if (atomic_read(&oldsighand->count) == 1) {
935 /* 932 /*
936 * Now that we nuked the rest of the thread group, 933 * Now that we nuked the rest of the thread group,