]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
tracing/osnoise: Fix missed cpus_read_unlock() in start_per_cpu_kthreads()
authorQiang.Zhang <qiang.zhang@windriver.com>
Tue, 31 Aug 2021 02:29:19 +0000 (10:29 +0800)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 8 Sep 2021 19:10:24 +0000 (15:10 -0400)
commit4b6b08f2e45edda4c067ac40833e3c1f84383c0b
tree19ca18c28d01323c20c824407637c178cf6c3ae1
parent5615e088b43d564aec08ccfaecb21ba484a1b4d6
tracing/osnoise: Fix missed cpus_read_unlock() in start_per_cpu_kthreads()

When start_kthread() return error, the cpus_read_unlock() need
to be called.

Link: https://lkml.kernel.org/r/20210831022919.27630-1-qiang.zhang@windriver.com
Cc: <stable@vger.kernel.org>
Fixes: c8895e271f79 ("trace/osnoise: Support hotplug operations")
Acked-by: Daniel Bristot de Oliveira <bristot@kernel.org>
Signed-off-by: Qiang.Zhang <qiang.zhang@windriver.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace_osnoise.c