diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/exec.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -745,8 +745,8 @@ static inline int de_thread(struct task_struct *tsk) | |||
745 | } | 745 | } |
746 | 746 | ||
747 | /* | 747 | /* |
748 | * Now there are really no other threads at all, | 748 | * There may be one thread left which is just exiting, |
749 | * so it's safe to stop telling them to kill themselves. | 749 | * but it's safe to stop telling the group to kill themselves. |
750 | */ | 750 | */ |
751 | sig->flags = 0; | 751 | sig->flags = 0; |
752 | 752 | ||
@@ -785,7 +785,6 @@ no_thread_group: | |||
785 | kmem_cache_free(sighand_cachep, oldsighand); | 785 | kmem_cache_free(sighand_cachep, oldsighand); |
786 | } | 786 | } |
787 | 787 | ||
788 | BUG_ON(!thread_group_empty(current)); | ||
789 | BUG_ON(!thread_group_leader(current)); | 788 | BUG_ON(!thread_group_leader(current)); |
790 | return 0; | 789 | return 0; |
791 | } | 790 | } |