ftrace: Unlock hash mutex on failed allocation in process_mod_list()
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 28 Jun 2017 13:09:38 +0000 (09:09 -0400)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 28 Jun 2017 13:09:38 +0000 (09:09 -0400)
commit3b58a3c72f484393c65995a551902945f5a18c70
tree0c0020b487f9263d146c35d4329d52928879a4f7
parent441dae8f2f2975c68101a84bc3f528ec95ecf7c3
ftrace: Unlock hash mutex on failed allocation in process_mod_list()

If the new_hash fails to allocate, then unlock the hash mutex on error.

Reported-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/ftrace.c