chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update TODO
[elogind.git]
/
src
/
cgroup.c
diff --git
a/src/cgroup.c
b/src/cgroup.c
index a3491582be316428d91605f9654a2f4c2df76274..4aa01f18981b5c7a84e7ba2b66c78855201f344d 100644
(file)
--- a/
src/cgroup.c
+++ b/
src/cgroup.c
@@
-46,9
+46,6
@@
int cgroup_bonding_realize(CGroupBonding *b) {
b->realized = true;
b->realized = true;
- if (b->ours)
- cg_trim(b->controller, b->path, false);
-
return 0;
}
return 0;
}
@@
-189,7
+186,7
@@
int cgroup_bonding_kill(CGroupBonding *b, int sig, bool sigcont, Set *s) {
assert(sig >= 0);
/* Don't kill cgroups that aren't ours */
assert(sig >= 0);
/* Don't kill cgroups that aren't ours */
- if (!b->
realized || !b->
ours)
+ if (!b->ours)
return 0;
return cg_kill_recursive(b->controller, b->path, sig, sigcont, true, false, s);
return 0;
return cg_kill_recursive(b->controller, b->path, sig, sigcont, true, false, s);