Commit 5515116b authored by Lennart Poettering's avatar Lennart Poettering
Browse files

cgroup: drop inherit flag, this mus be fixed in the kernel

parent 41192f6e
......@@ -70,12 +70,7 @@ int cgroup_bonding_realize(CGroupBonding *b) {
goto fail;
}
if (b->inherit)
r = cgroup_create_cgroup_from_parent(b->cgroup, true);
else
r = cgroup_create_cgroup(b->cgroup, true);
if (r != 0) {
if ((r = cgroup_create_cgroup(b->cgroup, true)) != 0) {
r = translate_error(r, errno);
goto fail;
}
......
......@@ -48,9 +48,6 @@ struct CGroupBonding {
/* When our tasks are the only ones in this group */
bool only_us:1;
/* Inherit parameters from parent group */
bool inherit:1;
};
int cgroup_bonding_realize(CGroupBonding *b);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment