cgroup: use release_agent_path_lock in cgroup_release_agent_show()
authorTejun Heo <tj@kernel.org>
Tue, 13 May 2014 16:11:00 +0000 (12:11 -0400)
committerTejun Heo <tj@kernel.org>
Tue, 13 May 2014 16:11:00 +0000 (12:11 -0400)
release_path is now protected by release_agent_path_lock to allow
accessing it without grabbing cgroup_mutex; however,
cgroup_release_agent_show() was still grabbing cgroup_mutex.  Let's
convert it to release_agent_path_lock so that we don't have to worry
about this one for the planned locking updates.

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

diff --cc kernel/cgroup.c
Simple merge