From ae97948e56ce387315c86b51b0b25a5ce47d4d78 Mon Sep 17 00:00:00 2001 From: Oleg Nesterov Date: Wed, 22 Aug 2007 14:01:58 -0700 Subject: [PATCH] --- yaml --- r: 64265 b: refs/heads/master c: abd96ecb298675a21c412a29f5de2f80174d5f18 h: refs/heads/master i: 64263: df7a7792fc4f65845d3a3e650cd21b76aebf0e31 v: v3 --- [refs] | 2 +- trunk/fs/exec.c | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/[refs] b/[refs] index d3dcfd52e142..9e0fbcaddb6a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5c076fce2e217240b44bc753a5ec8ecd379c6eb9 +refs/heads/master: abd96ecb298675a21c412a29f5de2f80174d5f18 diff --git a/trunk/fs/exec.c b/trunk/fs/exec.c index af4361c927a9..c21a8cc06277 100644 --- a/trunk/fs/exec.c +++ b/trunk/fs/exec.c @@ -784,7 +784,6 @@ static int de_thread(struct task_struct *tsk) * and we can just re-use it all. */ if (atomic_read(&oldsighand->count) <= 1) { - BUG_ON(atomic_read(&sig->count) != 1); signalfd_detach(tsk); exit_itimers(sig); return 0; @@ -929,8 +928,6 @@ static int de_thread(struct task_struct *tsk) if (leader) release_task(leader); - BUG_ON(atomic_read(&sig->count) != 1); - if (atomic_read(&oldsighand->count) == 1) { /* * Now that we nuked the rest of the thread group,