diff options
author | Mathias Krause <minipli@grsecurity.net> | 2024-07-23 23:07:53 +0200 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2024-08-08 01:28:48 +0200 |
commit | 8e556432477e97ad6179c61b61a32bf5f1af2355 (patch) | |
tree | a9c4891c63ab13ad11b0e7adba34bb7e9a4fdd57 /fs/nfs/callback_xdr.c | |
parent | eventfs: Don't return NULL in eventfs_create_dir() (diff) | |
download | linux-8e556432477e97ad6179c61b61a32bf5f1af2355.tar.xz linux-8e556432477e97ad6179c61b61a32bf5f1af2355.zip |
eventfs: Use SRCU for freeing eventfs_inodes
To mirror the SRCU lock held in eventfs_iterate() when iterating over
eventfs inodes, use call_srcu() to free them too.
This was accidentally(?) degraded to RCU in commit 43aa6f97c2d0
("eventfs: Get rid of dentry pointers without refcounts").
Cc: Ajay Kaher <ajay.kaher@broadcom.com>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/20240723210755.8970-1-minipli@grsecurity.net
Fixes: 43aa6f97c2d0 ("eventfs: Get rid of dentry pointers without refcounts")
Signed-off-by: Mathias Krause <minipli@grsecurity.net>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'fs/nfs/callback_xdr.c')
0 files changed, 0 insertions, 0 deletions