aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/fork.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fork.c b/kernel/fork.c
index 43cbf30669e..23b91211667 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -758,7 +758,7 @@ static int copy_sighand(unsigned long clone_flags, struct task_struct *tsk)
758{ 758{
759 struct sighand_struct *sig; 759 struct sighand_struct *sig;
760 760
761 if (clone_flags & (CLONE_SIGHAND | CLONE_THREAD)) { 761 if (clone_flags & CLONE_SIGHAND) {
762 atomic_inc(&current->sighand->count); 762 atomic_inc(&current->sighand->count);
763 return 0; 763 return 0;
764 } 764 }