]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - include/linux/cgroup.h
cgroup: Add cgroup_get_from_fd
[linux.git] / include / linux / cgroup.h
index a20320c666fd669582066c1bca0a0b1e51f00e0b..984f73b719a99b10a6e683cff5a55d4a41b57527 100644 (file)
@@ -87,6 +87,7 @@ struct cgroup_subsys_state *css_tryget_online_from_dir(struct dentry *dentry,
                                                       struct cgroup_subsys *ss);
 
 struct cgroup *cgroup_get_from_path(const char *path);
+struct cgroup *cgroup_get_from_fd(int fd);
 
 int cgroup_attach_task_all(struct task_struct *from, struct task_struct *);
 int cgroup_transfer_tasks(struct cgroup *to, struct cgroup *from);