diff options
| author | Tejun Heo <[email protected]> | 2011-11-23 16:49:49 +0000 |
|---|---|---|
| committer | Steven Rostedt <[email protected]> | 2011-12-02 03:16:47 +0000 |
| commit | d3d9acf646679c1981032b0985b386d12fccc60c (patch) | |
| tree | 68df9e100ae7304a1384160b5d1b068241f4d1fe /fs/btrfs/async-thread.c | |
| parent | Merge branch 'urgent' of git://amd64.org/linux/rric into perf/urgent (diff) | |
| download | kernel-d3d9acf646679c1981032b0985b386d12fccc60c.tar.gz kernel-d3d9acf646679c1981032b0985b386d12fccc60c.zip | |
trace_events_filter: Use rcu_assign_pointer() when setting ftrace_event_call->filter
ftrace_event_call->filter is sched RCU protected but didn't use
rcu_assign_pointer(). Use it.
TODO: Add proper __rcu annotation to call->filter and all its users.
-v2: Use RCU_INIT_POINTER() for %NULL clearing as suggested by Eric.
Link: http://lkml.kernel.org/r/[email protected]
Cc: Eric Dumazet <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: [email protected] # (2.6.39+)
Signed-off-by: Tejun Heo <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'fs/btrfs/async-thread.c')
0 files changed, 0 insertions, 0 deletions
