cgroup: store a reference to cgroup_ns into cgroup_fs_context
[sfrench/cifs-2.6.git] / kernel / cgroup / cgroup-internal.h
index f7fd54f2973f663a9726d61b963757f30c2ce25e..37cf709b7a0ef4f0defc6e4d99488c873d3883cf 100644 (file)
@@ -42,6 +42,7 @@ extern void __init enable_debug_cgroup(void);
  */
 struct cgroup_fs_context {
        struct cgroup_root      *root;
+       struct cgroup_namespace *ns;
        unsigned int    flags;                  /* CGRP_ROOT_* flags */
 
        /* cgroup1 bits */
@@ -212,8 +213,7 @@ void cgroup_free_root(struct cgroup_root *root);
 void init_cgroup_root(struct cgroup_fs_context *ctx);
 int cgroup_setup_root(struct cgroup_root *root, u16 ss_mask);
 int rebind_subsystems(struct cgroup_root *dst_root, u16 ss_mask);
-int cgroup_do_mount(struct fs_context *fc, unsigned long magic,
-                              struct cgroup_namespace *ns);
+int cgroup_do_get_tree(struct fs_context *fc);
 
 int cgroup_migrate_vet_dst(struct cgroup *dst_cgrp);
 void cgroup_migrate_finish(struct cgroup_mgctx *mgctx);