ftrace: If the hash for a probe fails to update then free what was initialized
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 5 Apr 2017 17:36:18 +0000 (13:36 -0400)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 21 Apr 2017 02:06:44 +0000 (22:06 -0400)
commit8d70725e452cac9796e9025ccd79c45ffcc4d109
tree2db0703a73df7d182204b2d65d1c71a3d441a246
parenteee8ded131f15e0f5b1897c9c4a7687fabd28822
ftrace: If the hash for a probe fails to update then free what was initialized

If the ftrace_hash_move_and_update_ops() fails, and an ops->free() function
exists, then it needs to be called on all the ops that were added by this
registration.

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/ftrace.c