summaryrefslogtreecommitdiffstats
path: root/kernel/cgroup/cgroup-internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/cgroup/cgroup-internal.h')
-rw-r--r--kernel/cgroup/cgroup-internal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/cgroup/cgroup-internal.h b/kernel/cgroup/cgroup-internal.h
index a7b5a41f170c..3c1613a7648c 100644
--- a/kernel/cgroup/cgroup-internal.h
+++ b/kernel/cgroup/cgroup-internal.h
@@ -41,6 +41,7 @@ extern void __init enable_debug_cgroup(void);
41 * The cgroup filesystem superblock creation/mount context. 41 * The cgroup filesystem superblock creation/mount context.
42 */ 42 */
43struct cgroup_fs_context { 43struct cgroup_fs_context {
44 struct cgroup_root *root;
44 unsigned int flags; /* CGRP_ROOT_* flags */ 45 unsigned int flags; /* CGRP_ROOT_* flags */
45 46
46 /* cgroup1 bits */ 47 /* cgroup1 bits */
@@ -208,7 +209,7 @@ int cgroup_path_ns_locked(struct cgroup *cgrp, char *buf, size_t buflen,
208 struct cgroup_namespace *ns); 209 struct cgroup_namespace *ns);
209 210
210void cgroup_free_root(struct cgroup_root *root); 211void cgroup_free_root(struct cgroup_root *root);
211void init_cgroup_root(struct cgroup_root *root, struct cgroup_fs_context *ctx); 212void init_cgroup_root(struct cgroup_fs_context *ctx);
212int cgroup_setup_root(struct cgroup_root *root, u16 ss_mask); 213int cgroup_setup_root(struct cgroup_root *root, u16 ss_mask);
213int rebind_subsystems(struct cgroup_root *dst_root, u16 ss_mask); 214int rebind_subsystems(struct cgroup_root *dst_root, u16 ss_mask);
214struct dentry *cgroup_do_mount(struct file_system_type *fs_type, int flags, 215struct dentry *cgroup_do_mount(struct file_system_type *fs_type, int flags,