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://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=38a285d776cc0bf4440efe79fc7691032bcf3d67;ds=inline 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 d16b5f878..4aa01f189 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; }