[PATCH cgroup/for-4.4] cgroup: fix too early usage of static_branch_disable()

2015-09-25 Thread Tejun Heo
49d1dc4b8179 ("cgroup: implement static_key based cgroup_subsys_enabled() and cgroup_subsys_on_dfl()") converted cgroup enabled test to use static_key; however, cgroup_disable() is called before static_key subsystem itself is initialized and thus leads to the following warning when

[PATCH cgroup/for-4.4] cgroup: fix too early usage of static_branch_disable()

2015-09-25 Thread Tejun Heo
49d1dc4b8179 ("cgroup: implement static_key based cgroup_subsys_enabled() and cgroup_subsys_on_dfl()") converted cgroup enabled test to use static_key; however, cgroup_disable() is called before static_key subsystem itself is initialized and thus leads to the following warning when