From: Pavel Emelyanov This is a lost hunk of previous patch that isolated the explicit usage of task->tgid in some places. The signalfd code uses the tsk->tgid comparison. Signed-off-by: Pavel Emelyanov Acked-by: Sukadev Bhattiprolu Signed-off-by: Andrew Morton --- fs/signalfd.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN fs/signalfd.c~isolate-some-explicit-usage-of-task-tgid-fix fs/signalfd.c --- a/fs/signalfd.c~isolate-some-explicit-usage-of-task-tgid-fix +++ a/fs/signalfd.c @@ -64,7 +64,7 @@ static int signalfd_lock(struct signalfd return 0; } - if (lk->tsk->tgid == current->tgid) + if (same_thread_group(lk->tsk, current->tgid)) lk->tsk = current; return 1; _