[PATCH 5/5] cgroup: remove cgroup->control_kn

2014-05-06 Thread Tejun Heo
Now that cgroup_subtree_control_write() has access to the associated kernfs_open_file and thus the kernfs_node, there's no need to cache it in cgroup->control_kn on creation. Remove cgroup->control_kn and use @of->kn directly. Signed-off-by: Tejun Heo --- include/linux/cgroup.h | 1 -

[PATCH 5/5] cgroup: remove cgroup-control_kn

2014-05-06 Thread Tejun Heo
Now that cgroup_subtree_control_write() has access to the associated kernfs_open_file and thus the kernfs_node, there's no need to cache it in cgroup-control_kn on creation. Remove cgroup-control_kn and use @of-kn directly. Signed-off-by: Tejun Heo t...@kernel.org --- include/linux/cgroup.h | 1