cgroup: fix cftype->file_offset handling
[firefly-linux-kernel-4.4.55.git] / include / linux / cgroup-defs.h
index 60d44b26276d84a77d7f7e3379ae12821a8b3eeb..869fd4a3d28e79d9b529502ec7736c304e8af6a5 100644 (file)
@@ -90,7 +90,6 @@ enum {
  */
 struct cgroup_file {
        /* do not access any fields from outside cgroup core */
-       struct list_head node;                  /* anchored at css->files */
        struct kernfs_node *kn;
 };
 
@@ -134,9 +133,6 @@ struct cgroup_subsys_state {
         */
        u64 serial_nr;
 
-       /* all cgroup_files associated with this css */
-       struct list_head files;
-
        /* percpu_ref killing and RCU release */
        struct rcu_head rcu_head;
        struct work_struct destroy_work;