From 5515116b61d23c5ddb1c5ac74adfaf564b28be76 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 16 Jun 2010 05:07:30 +0200 Subject: cgroup: drop inherit flag, this mus be fixed in the kernel --- src/cgroup.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/cgroup.c') diff --git a/src/cgroup.c b/src/cgroup.c index fb4047f215..330014dc9f 100644 --- a/src/cgroup.c +++ b/src/cgroup.c @@ -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; } -- cgit v1.2.3-54-g00ecf