aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorMathias Krause <[email protected]>2024-07-23 23:07:53 +0200
committerSteven Rostedt (Google) <[email protected]>2024-08-07 19:28:48 -0400
commit8e556432477e97ad6179c61b61a32bf5f1af2355 (patch)
treea9c4891c63ab13ad11b0e7adba34bb7e9a4fdd57 /tools/testing/selftests/bpf/prog_tests/autoload.c
parent12c20c65d0460cf34f9a665d8f0c0d77d45a3829 (diff)
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 <[email protected]> Cc: Masami Hiramatsu <[email protected]> Cc: Mathieu Desnoyers <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/[email protected] Fixes: 43aa6f97c2d0 ("eventfs: Get rid of dentry pointers without refcounts") Signed-off-by: Mathias Krause <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions