chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cgroup: always recreate cgroup before we try to apply attributes
[elogind.git]
/
src
/
cgroup.c
diff --git
a/src/cgroup.c
b/src/cgroup.c
index dcf2c2feb7a30d44fc347e5e0da2f30f1046be5b..be837c3d0f940f9e069c51dfc99862af774b9030 100644
(file)
--- a/
src/cgroup.c
+++ b/
src/cgroup.c
@@
-38,9
+38,6
@@
int cgroup_bonding_realize(CGroupBonding *b) {
assert(b->path);
assert(b->controller);
- if (b->realized)
- return 0;
-
r = cg_create(b->controller, b->path);
if (r < 0) {
log_warning("Failed to create cgroup %s:%s: %s", b->controller, b->path, strerror(-r));