rv: Unlock on error path in rv_unregister_reactor()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 4 Aug 2022 14:33:48 +0000 (17:33 +0300)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Fri, 5 Aug 2022 02:49:17 +0000 (22:49 -0400)
commitf1a15b977ff864513133ecb611eb28603d32c1b4
tree15f0bd3ef498c7ef1fbd14b953325c32188c6b86
parent09794a5a6c348f629b35fc1687071a1622ef4265
rv: Unlock on error path in rv_unregister_reactor()

Unlock the "rv_interface_lock" mutex before returning.

Link: https://lkml.kernel.org/r/YuvYzNfGMgV+PIhd@kili
Fixes: 04acadcb4453 ("rv: Add runtime reactors interface")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
kernel/trace/rv/rv_reactors.c