[PATCH 07/12] cgroup: cgroup->subsys[] should be cleared after the css is offlined

2014-04-14 Thread Tejun Heo
After a css finishes offlining, offline_css() mistakenly performs RCU_INIT_POINTER(css->cgroup->subsys[ss->id], css) which just sets the cgroup->subsys[] pointer to the current value. The intention was to clear it after offline is complete, not reassign the same value. Update it to assign NULL in

[PATCH 07/12] cgroup: cgroup->subsys[] should be cleared after the css is offlined

2014-03-27 Thread Tejun Heo
After a css finishes offlining, offline_css() mistakenly performs RCU_INIT_POINTER(css->cgroup->subsys[ss->id], css) which just sets the cgroup->subsys[] pointer to the current value. The intention was to clear it after offline is complete, not reassign the same value. Update it to assign NULL in