[PATCH] tracefs/eventfs: Use list_for_each_srcu() in dcache_dir_open_wrapper()

2023-09-11 Thread Steven Rostedt
From: "Steven Rostedt (Google)" 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

[PATCH] tracefs/eventfs: Use list_for_each_srcu() in dcache_dir_open_wrapper()

2023-09-11 Thread Steven Rostedt
From: "Steven Rostedt (Google)" 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