]> err.no Git - systemd/commitdiff
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 d16b5f878fbc6b4eb6c8c7455fb09ef7e1ad5925..4aa01f18981b5c7a84e7ba2b66c78855201f344d 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;
 }