cgroup: unexport locking interface and cgroup_attach_task()
authorTejun Heo <tj@kernel.org>
Sun, 7 Apr 2013 16:29:51 +0000 (09:29 -0700)
committerTejun Heo <tj@kernel.org>
Sun, 7 Apr 2013 16:29:51 +0000 (09:29 -0700)
commitb9777cf8d7c7854c3c38bd6621d993b85c2afcdf
treed3f0275df187bb01a4262971f8fea6f4dbf7f26d
parent7ae1bad99e27b8838d480a24edf4646a2fc547df
cgroup: unexport locking interface and cgroup_attach_task()

Now that all external cgroup_lock() users are gone, we can finally
unexport the locking interface and prevent future abuse of
cgroup_mutex.

Make cgroup_[un]lock() and cgroup_lock_live_group() static.  Also,
cgroup_attach_task() doesn't have any user left and can't be used
without locking interface anyway.  Make it static too.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Li Zefan <lizefan@huawei.com>
include/linux/cgroup.h
kernel/cgroup.c