ftrace: Simplify ftrace_hash_disable/enable path in ftrace_hash_move
authorMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Tue, 17 Jun 2014 11:04:42 +0000 (11:04 +0000)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 1 Jul 2014 11:13:34 +0000 (07:13 -0400)
Simplify ftrace_hash_disable/enable path in ftrace_hash_move
for hardening the process if the memory allocation failed.

Link: http://lkml.kernel.org/p/20140617110442.15167.81076.stgit@kbuild-fedora.novalocal
Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>

No differences found