projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdb5d0f
)
tracing: Update instance_rmdir() to use tracefs_remove_recursive
author
Jiaxing Wang
<hello.wjx@gmail.com>
Sun, 18 Oct 2015 11:58:08 +0000
(19:58 +0800)
committer
Steven Rostedt
<rostedt@goodmis.org>
Mon, 2 Nov 2015 18:59:06 +0000
(13:59 -0500)
Update instancd_rmdir to use tracefs_remove_recursive instead of
debugfs_remove_recursive.This was left in the transition from debugfs
to tracefs.
Link:
http://lkml.kernel.org/r/1445169490-18315-2-git-send-email-hello.wjx@gmail.com
Cc: stable@vger.kernel.org # 4.1+
Fixes:
8434dc9340cd2
("tracing: Convert the tracing facility over to use tracefs")
Signed-off-by: Jiaxing Wang <hello.wjx@gmail.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/trace/trace.c
b/kernel/trace/trace.c
index 78022c1a125fba71dc0e86b0205476e6d3a4e491..67873c67665e94a1105852ffd555ac4ffdc55568 100644
(file)
--- a/
kernel/trace/trace.c
+++ b/
kernel/trace/trace.c
@@
-6689,7
+6689,7
@@
static int instance_rmdir(const char *name)
tracing_set_nop(tr);
event_trace_del_tracer(tr);
ftrace_destroy_function_files(tr);
-
debug
fs_remove_recursive(tr->dir);
+
trace
fs_remove_recursive(tr->dir);
free_trace_buffers(tr);
for (i = 0; i < tr->nr_topts; i++) {