chiark / gitweb /
cgroup: don't trim a cgroup we create, we might just take it over from somebody else
authorLennart Poettering <lennart@poettering.net>
Tue, 5 Jul 2011 22:14:26 +0000 (00:14 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 5 Jul 2011 22:14:26 +0000 (00:14 +0200)
src/cgroup.c

index d16b5f8..4aa01f1 100644 (file)
@@ -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;
 }