Skip to contentSkip to conversation

Patch "tracing: Update instance_rmdir() to use tracefs_remove_recursive" has been added to the 4.3-stable tree

PATCH [email protected] 1 participant 1 message Feb 13, 2016

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

tracing: Update instance_rmdir() to use tracefs_remove_recursive

to the 4.3-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
tracing-update-instance_rmdir-to-use-tracefs_remove_recursive.patch
and it can be found in the queue-4.3 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 681a4a2f4529517422835b7395df07404dfe2278 Mon Sep 17 00:00:00 2001

From: Jiaxing Wang <[email protected]>
Date: Sun, 18 Oct 2015 19:58:08 +0800
Subject: tracing: Update instance_rmdir() to use tracefs_remove_recursive

From: Jiaxing Wang <[email protected]>

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.

Fixes 8434dc9340cd2 ("tracing: Convert the tracing facility over to use tracefs")
---
 kernel/trace/trace.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/trace/trace.c +1 -1
@@ -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);

Patches currently in stable-queue which might be from [email protected] are

queue-4.3/tracing-update-instance_rmdir-to-use-tracefs_remove_recursive.patch