From 6accf8aa3ab313ee3073ec5c88ee3ca55caf3c1f Mon Sep 17 00:00:00 2001 From: Alexander Nyberg Date: Wed, 14 Sep 2005 18:54:06 +0200 Subject: [PATCH] --- yaml --- r: 8932 b: refs/heads/master c: fb085cf1d4294824571815d487daccc0609543f0 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/exec.c | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index a80dd1138bde..3c1c2caebc41 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 32a3658533c6f4c6bf370dd730213e802464ef9b +refs/heads/master: fb085cf1d4294824571815d487daccc0609543f0 diff --git a/trunk/fs/exec.c b/trunk/fs/exec.c index 14dd03907ccb..6fae59a22b43 100644 --- a/trunk/fs/exec.c +++ b/trunk/fs/exec.c @@ -745,8 +745,8 @@ static inline int de_thread(struct task_struct *tsk) } /* - * Now there are really no other threads at all, - * so it's safe to stop telling them to kill themselves. + * There may be one thread left which is just exiting, + * but it's safe to stop telling the group to kill themselves. */ sig->flags = 0; @@ -785,7 +785,6 @@ static inline int de_thread(struct task_struct *tsk) kmem_cache_free(sighand_cachep, oldsighand); } - BUG_ON(!thread_group_empty(current)); BUG_ON(!thread_group_leader(current)); return 0; }