From: Lennart Poettering Date: Tue, 5 Jul 2011 22:14:26 +0000 (+0200) Subject: cgroup: don't trim a cgroup we create, we might just take it over from somebody else X-Git-Tag: v30~49 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38a285d776cc0bf4440efe79fc7691032bcf3d67;p=systemd cgroup: don't trim a cgroup we create, we might just take it over from somebody else --- diff --git a/src/cgroup.c b/src/cgroup.c index d16b5f87..4aa01f18 100644 --- a/src/cgroup.c +++ b/src/cgroup.c @@ -46,9 +46,6 @@ int cgroup_bonding_realize(CGroupBonding *b) { b->realized = true; - if (b->ours) - cg_trim(b->controller, b->path, false); - return 0; }