summaryrefslogtreecommitdiffstats
path: root/include/linux/cgroup.h
diff options
context:
space:
mode:
authorTejun Heo2014-05-13 18:16:22 +0200
committerTejun Heo2014-05-13 18:16:22 +0200
commitb7fc5ad235936379fae67a9f7b50bb53487a1a3a (patch)
tree90cb1aa86cf485d3e9d93942426d6ee14e2d14c4 /include/linux/cgroup.h
parentcgroup: convert "tasks" and "cgroup.procs" handle to use cftype->write() (diff)
downloadkernel-qcow2-linux-b7fc5ad235936379fae67a9f7b50bb53487a1a3a.tar.gz
kernel-qcow2-linux-b7fc5ad235936379fae67a9f7b50bb53487a1a3a.tar.xz
kernel-qcow2-linux-b7fc5ad235936379fae67a9f7b50bb53487a1a3a.zip
cgroup: remove cgroup->control_kn
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 <tj@kernel.org> Acked-by: Li Zefan <lizefan@huawei.com>
Diffstat (limited to 'include/linux/cgroup.h')
-rw-r--r--include/linux/cgroup.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
index 08eb71ee600b..aa7353deaaf3 100644
--- a/include/linux/cgroup.h
+++ b/include/linux/cgroup.h
@@ -177,7 +177,6 @@ struct cgroup {
struct cgroup *parent; /* my parent */
struct kernfs_node *kn; /* cgroup kernfs entry */
- struct kernfs_node *control_kn; /* kn for "cgroup.subtree_control" */
struct kernfs_node *populated_kn; /* kn for "cgroup.subtree_populated" */
/*