Re: [PATCH] eventfs: Use list_del_rcu() for SRCU protected list variable

From: Steven Rostedt
Date: Wed Sep 04 2024 - 13:16:23 EST


On Wed, 4 Sep 2024 13:16:05 -0400
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> This is simply fixed by using list_del_rcu() that is specifically made for
> this purpose.
>

I forgot to add:

Link: https://lore.kernel.org/linux-trace-kernel/20240829085025.3600021-1-chizhiling@xxxxxxx/

I'll add it when I apply it.

-- Steve

> Cc: stable@xxxxxxxxxxxxxxx
> Fixes: 43aa6f97c2d03 ("eventfs: Get rid of dentry pointers without refcounts")
> Reported-by: Chi Zhiling <chizhiling@xxxxxxxxxx>
> Tested-by: Chi Zhiling <chizhiling@xxxxxxxxxx>
> Signed-off-by: Steven Rostedt (Google) <rostedt@xxxxxxxxxxx>
> ---