summaryrefslogtreecommitdiff
path: root/src/cgroup.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-07-06 00:14:26 +0200
committerLennart Poettering <lennart@poettering.net>2011-07-06 00:14:26 +0200
commit38a285d776cc0bf4440efe79fc7691032bcf3d67 (patch)
tree4637093153166fc8d6c142c15676590ec8a41662 /src/cgroup.c
parentd5762cf5404cbbf557df014b04ee1e29ce852823 (diff)
cgroup: don't trim a cgroup we create, we might just take it over from somebody else
Diffstat (limited to 'src/cgroup.c')
-rw-r--r--src/cgroup.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/cgroup.c b/src/cgroup.c
index d16b5f878f..4aa01f1898 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;
}