[PATCH 7/8] cgroup: nest kernfs active protection under cgroup_mutex

2014-05-06 Thread Tejun Heo
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,

[PATCH 7/8] cgroup: nest kernfs active protection under cgroup_mutex

2014-05-06 Thread Tejun Heo
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,