diff options
author | Oleg Nesterov <[email protected]> | 2013-07-23 17:25:57 +0200 |
---|---|---|
committer | Steven Rostedt <[email protected]> | 2013-07-24 11:22:51 -0400 |
commit | 15544209cb0b5312e5220a9337a1fe61d1a1f2d9 (patch) | |
tree | ec12c5587cd71821b5edff4f67dc0439438cb538 /net/lapb/lapb_subr.c | |
parent | 649e9c70da6bfbeb563193a35d3424a5aa7c0d38 (diff) |
tracing: Change tracing_pipe_fops() to rely on tracing_get_cpu()
tracing_open_pipe() is racy, the memory inode->i_private points to
can be already freed.
Change debugfs_create_file("trace_pipe", data) callers to to pass
"data = tr", tracing_open_pipe() can use tracing_get_cpu().
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Oleg Nesterov <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions