Re: [PATCH] tracing: Have trace_event_file have ref counters

From: Steven Rostedt
Date: Wed Nov 01 2023 - 22:46:52 EST


On Wed, 1 Nov 2023 22:32:54 -0400
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> > Ouch! I thought the file descriptor has been hold by the opened process.
>
> Well, the struct *filp is, but not the filp->private that points to the
> struct trace_event_file *file.

That was supposed to be "struct file *filp"

-- Steve