summaryrefslogtreecommitdiffstats
path: root/kernel/signal.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/signal.c')
-rw-r--r--kernel/signal.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/signal.c b/kernel/signal.c
index 91b789dd6e72..e667be6907d7 100644
--- a/kernel/signal.c
+++ b/kernel/signal.c
@@ -349,7 +349,7 @@ void task_clear_jobctl_pending(struct task_struct *task, unsigned long mask)
349 * @task has %JOBCTL_STOP_PENDING set and is participating in a group stop. 349 * @task has %JOBCTL_STOP_PENDING set and is participating in a group stop.
350 * Group stop states are cleared and the group stop count is consumed if 350 * Group stop states are cleared and the group stop count is consumed if
351 * %JOBCTL_STOP_CONSUME was set. If the consumption completes the group 351 * %JOBCTL_STOP_CONSUME was set. If the consumption completes the group
352 * stop, the appropriate %SIGNAL_* flags are set. 352 * stop, the appropriate `SIGNAL_*` flags are set.
353 * 353 *
354 * CONTEXT: 354 * CONTEXT:
355 * Must be called with @task->sighand->siglock held. 355 * Must be called with @task->sighand->siglock held.
@@ -1885,6 +1885,7 @@ static void do_notify_pidfd(struct task_struct *task)
1885{ 1885{
1886 struct pid *pid; 1886 struct pid *pid;
1887 1887
1888 WARN_ON(task->exit_state == 0);
1888 pid = task_pid(task); 1889 pid = task_pid(task);
1889 wake_up_all(&pid->wait_pidfd); 1890 wake_up_all(&pid->wait_pidfd);
1890} 1891}