Messages in this thread | | | Date | Wed, 22 Jan 2020 10:25:11 -0800 | From | Davidlohr Bueso <> | Subject | Re: 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
| |