ftrace: Have set_graph_* files have normal file modes
authorChen LinX <linx.z.chen@intel.com>
Wed, 3 Sep 2014 06:31:09 +0000 (14:31 +0800)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Thu, 3 May 2018 15:55:31 +0000 (11:55 -0400)
commit1ce0500d234f8ef880c399d55a886af646beec9a
treedc3b6ae425cb2590059845294fa957d24837faf3
parentd66a270be3310d7aa132fec0cea77d3d32a0ff75
ftrace: Have set_graph_* files have normal file modes

The set_graph_function and set_graph_notrace file mode should be 0644
instead of 0444 as they are writeable. Note, the mode appears to be ignored
regardless, but they should at least look sane.

Link: http://lkml.kernel.org/r/1409725869-4501-1-git-send-email-linx.z.chen@intel.com
Acked-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Chen LinX <linx.z.chen@intel.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/ftrace.c