Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1333922 > unrolled thread

[PATCH 4.3 064/200] tracing: Update instance_rmdir() to use tracefs_remove_recursive

Started byGreg Kroah-Hartman <gregkh@linuxfoundation.org>
First post2016-02-15 01:10 +0100
Last post2016-02-15 01:10 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 4.3 064/200] tracing: Update instance_rmdir() to use tracefs_remove_recursive Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-02-15 01:10 +0100

#1333922 — [PATCH 4.3 064/200] tracing: Update instance_rmdir() to use tracefs_remove_recursive

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2016-02-15 01:10 +0100
Subject[PATCH 4.3 064/200] tracing: Update instance_rmdir() to use tracefs_remove_recursive
Message-ID<r2eTM-1DD-17@gated-at.bofh.it>
4.3-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Jiaxing Wang <hello.wjx@gmail.com>

commit 681a4a2f4529517422835b7395df07404dfe2278 upstream.

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

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 kernel/trace/trace.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/kernel/trace/trace.c
+++ b/kernel/trace/trace.c
@@ -6602,7 +6602,7 @@ static int instance_rmdir(const char *na
 	tracing_set_nop(tr);
 	event_trace_del_tracer(tr);
 	ftrace_destroy_function_files(tr);
-	debugfs_remove_recursive(tr->dir);
+	tracefs_remove_recursive(tr->dir);
 	free_trace_buffers(tr);
 
 	kfree(tr->name);

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web