Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 64265
b: refs/heads/master
c: abd96ec
h: refs/heads/master
i:
  64263: df7a779
v: v3
  • Loading branch information
Oleg Nesterov authored and Linus Torvalds committed Aug 23, 2007
1 parent 3b052c0 commit ae97948
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 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: 5c076fce2e217240b44bc753a5ec8ecd379c6eb9
refs/heads/master: abd96ecb298675a21c412a29f5de2f80174d5f18
3 changes: 0 additions & 3 deletions trunk/fs/exec.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit ae97948

Please sign in to comment.