aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorSteven Rostedt (Google) <[email protected]>2023-09-11 20:06:54 -0400
committerSteven Rostedt (Google) <[email protected]>2023-09-11 22:05:02 -0400
commit9243e5430995498f14f92be56da995ded107d71e (patch)
tree46d3f71a53c618bd334e40864b914c2e25af5211 /lib/test_fortify/write_overflow-strncpy-src.c
parent62663b849662c1a5126b6274d91671b90566ef13 (diff)
tracefs/eventfs: Use list_for_each_srcu() in dcache_dir_open_wrapper()
The eventfs files list is protected by SRCU. In earlier iterations it was protected with just RCU, but because it needed to also call sleepable code, it had to be switch to SRCU. The dcache_dir_open_wrapper() list_for_each_rcu() was missed and did not get converted over to list_for_each_srcu(). That needs to be fixed. Link: https://lore.kernel.org/linux-trace-kernel/[email protected]/ Link: https://lore.kernel.org/linux-trace-kernel/[email protected] Cc: Mark Rutland <[email protected]> Cc: Ajay Kaher <[email protected]> Cc: "Paul E. McKenney" <[email protected]> Reported-by: Masami Hiramatsu (Google) <[email protected]> Fixes: 63940449555e7 ("eventfs: Implement eventfs lookup, read, open functions") Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions