summaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_events_inject.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/trace/trace_events_inject.c')
-rw-r--r--kernel/trace/trace_events_inject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace_events_inject.c b/kernel/trace/trace_events_inject.c
index 8650562bda..a8f076809d 100644
--- a/kernel/trace/trace_events_inject.c
+++ b/kernel/trace/trace_events_inject.c
@@ -299,7 +299,7 @@ event_inject_write(struct file *filp, const char __user *ubuf, size_t cnt,
strim(buf);
mutex_lock(&event_mutex);
- file = event_file_data(filp);
+ file = event_file_file(filp);
if (file) {
call = file->event_call;
size = parse_entry(buf, call, &entry);