summaryrefslogtreecommitdiff
path: root/kernel/sys_ni.c
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2013-07-31 19:31:32 +0200
committerSteven Rostedt <rostedt@goodmis.org>2013-08-21 22:31:23 -0400
commit779c5e379158de3e96112630c543d3c7b37efab9 (patch)
tree372c80fb9521ef4ac5d614d481a1a819cf57ba6c /kernel/sys_ni.c
parent3ddc77f6f4a58ee2e49e0e8c0216105c7f8ddd8c (diff)
tracing: Kill trace_create_file_ops() and friends
trace_create_file_ops() allocates the copy of id/filter/format/enable file_operations to set "f_op->owner = mod" for fops_get(). However after the recent changes there is no reason to prevent rmmod even if one of these files is opened. A file operation can do nothing but fail after remove_event_file_dir() clears ->i_private for every file removed by trace_module_remove_events(). Kill "struct ftrace_module_file_ops" and fix the compilation errors. Link: http://lkml.kernel.org/r/20130731173132.GA31033@redhat.com Signed-off-by: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/sys_ni.c')
0 files changed, 0 insertions, 0 deletions