chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a255a7f
)
Revert "cgroup.c: check return value of unit_realize_cgroup_now()"
author
Harald Hoyer
<harald@redhat.com>
Wed, 28 Aug 2013 14:02:39 +0000
(16:02 +0200)
committer
Harald Hoyer
<harald@redhat.com>
Wed, 28 Aug 2013 14:02:39 +0000
(16:02 +0200)
This reverts commit
1f11a0cdfe397cc404d61ee679fc12f58c0a885b
.
src/core/cgroup.c
patch
|
blob
|
history
diff --git
a/src/core/cgroup.c
b/src/core/cgroup.c
index 50b17f3802d6e453584cca0065ab86a297c39d51..5a1c3adacd19af3f8ff2c67ebcb98ea7ab2e53cd 100644
(file)
--- a/
src/core/cgroup.c
+++ b/
src/core/cgroup.c
@@
-432,13
+432,8
@@
static int unit_realize_cgroup_now(Unit *u) {
return 0;
/* First, realize parents */
- if (UNIT_ISSET(u->slice)) {
- int r;
-
- r = unit_realize_cgroup_now(UNIT_DEREF(u->slice));
- if (r < 0)
- return r;
- }
+ if (UNIT_ISSET(u->slice))
+ unit_realize_cgroup_now(UNIT_DEREF(u->slice));
/* And then do the real work */
return unit_create_cgroups(u, mask);