cgroup: hold cgroup_mutex before calling css_offline()
authorLi Zefan <lizefan@huawei.com>
Tue, 12 Mar 2013 22:35:59 +0000 (15:35 -0700)
committerTejun Heo <tj@kernel.org>
Tue, 12 Mar 2013 22:35:59 +0000 (15:35 -0700)
commitd7eeac1913ff86a17f891cb4b73f03d4b94907d0
tree1e44fde86b626dbeb7c27f007eeebce7d47ef206
parent6dc01181eac16192dc4a5d1b310b78e2e97c003c
cgroup: hold cgroup_mutex before calling css_offline()

cpuset no longer nests cgroup_mutex inside cpu_hotplug lock, so
we don't have to release cgroup_mutex before calling css_offline().

Signed-off-by: Li Zefan <lizefan@huawei.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Documentation/cgroups/cgroups.txt
kernel/cgroup.c