lkml.org 
[lkml]   [2020]   [Jan]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: mq_notify loose notification request on fork()
On Tue, 21 Jan 2020, Bueso wrote:
>diff --git a/fs/file.c b/fs/file.c
>index 2f4fcf985079..70e5fe1c70d5 100644
>--- a/fs/file.c
>+++ b/fs/file.c
>@@ -440,6 +440,7 @@ void exit_files(struct task_struct *tsk)
>
> if (files) {
> task_lock(tsk);
>+ files->tsk = NULL;

This part is wrong, of course, as we later need it. We can just remove
that statement.

Thanks,
Davidlohr

\
 
 \ /
  Last update: 2020-01-22 19:33    [W:0.035 / U:0.292 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site