diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-04-20 03:53:12 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-04-20 03:53:12 +0200 |
commit | 38c52d4606c77ff2b2b60a08f663a1983d8254b0 (patch) | |
tree | 694361c7bb0e242e73c0ef9014624ea5ac6da19d /src/unit.c | |
parent | 9534ce54858c67363b841cdbdc315140437bfdb4 (diff) |
cgroup: don't accidentaly trim on reload
https://bugzilla.redhat.com/show_bug.cgi?id=678555
Diffstat (limited to 'src/unit.c')
-rw-r--r-- | src/unit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unit.c b/src/unit.c index d7405b92ed..aed25e4f21 100644 --- a/src/unit.c +++ b/src/unit.c @@ -368,7 +368,7 @@ void unit_free(Unit *u) { u->meta.manager->n_in_gc_queue--; } - cgroup_bonding_free_list(u->meta.cgroup_bondings); + cgroup_bonding_free_list(u->meta.cgroup_bondings, u->meta.manager->n_serializing <= 0); free(u->meta.description); free(u->meta.fragment_path); |