cgroup: bpf: use cgroup_lock()/cgroup_unlock() wrappers
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Fri, 3 Mar 2023 09:53:10 +0000 (15:23 +0530)
committerTejun Heo <tj@kernel.org>
Fri, 17 Mar 2023 22:07:13 +0000 (12:07 -1000)
commit4cdb91b0dea7d7f59fa84a13c7753cd434fdedcf
treeb27b45747bdf53a7758e9ca57292ffbde71bd46f
parent8d3c682a5e3d9dfc2448ecbb22f4cd48359b9e21
cgroup: bpf: use cgroup_lock()/cgroup_unlock() wrappers

Replace mutex_[un]lock() with cgroup_[un]lock() wrappers to stay
consistent across cgroup core and other subsystem code, while
operating on the cgroup_mutex.

Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/bpf/cgroup.c
kernel/bpf/cgroup_iter.c
kernel/bpf/local_storage.c
kernel/cgroup/cgroup-v1.c
kernel/cgroup/cgroup.c