From: Tejun Heo Date: Tue, 13 May 2014 16:19:23 +0000 (-0400) Subject: cgroup: nest kernfs active protection under cgroup_mutex X-Git-Tag: omap-for-v3.16/fixes-against-rc1~81^2~29 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01f6474ce04fffd6282b569ac0a31f4b98d4c82a;p=pandora-kernel.git cgroup: nest kernfs active protection under cgroup_mutex After the recent cgroup_kn_lock_live() changes, cgroup_mutex is no longer nested below kernfs active protection. The two don't have any relationship now. This patch nests kernfs active protection under cgroup_mutex. All cftype operations now require both cgroup_tree_mutex and cgroup_mutex, temporary cgroup_mutex releases over kernfs operations are removed, and cgroup_add/rm_cftypes() grab both mutexes. This makes cgroup_tree_mutex redundant, which will be removed by the next patch. Signed-off-by: Tejun Heo Acked-by: Li Zefan --- Reading git-diff-tree failed