]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit247857a808648ae1a7b8a31ae6ff8437eade233d
tree15f0bd3ef498c7ef1fbd14b953325c32188c6b86
parent5cdcd8e5c0da239d31311bf075625f8760ba56d3
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: ec7fbb75a74c ("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