summaryrefslogtreecommitdiff
path: root/src/core/cgroup.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-12-09 02:31:42 +0100
committerLennart Poettering <lennart@poettering.net>2014-12-09 02:31:42 +0100
commitb1491eba40715438b0ac874f2be79d5622b971e1 (patch)
treea3c0dcacce75033c4c7662324f70c0d1f946dd4f /src/core/cgroup.h
parentdab5bf859900c0abdbf78c584e4aed42a19768cd (diff)
core: rename unit_destroy_cgroup() to unit_destroy_cgroup_if_empty() since it's not quite as destructive as it sounds nowadays
Diffstat (limited to 'src/core/cgroup.h')
-rw-r--r--src/core/cgroup.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/cgroup.h b/src/core/cgroup.h
index 3c43885bf2..16d661357b 100644
--- a/src/core/cgroup.h
+++ b/src/core/cgroup.h
@@ -109,7 +109,7 @@ CGroupControllerMask unit_get_target_mask(Unit *u);
void unit_update_cgroup_members_masks(Unit *u);
int unit_realize_cgroup(Unit *u);
-void unit_destroy_cgroup(Unit *u);
+void unit_destroy_cgroup_if_empty(Unit *u);
int manager_setup_cgroup(Manager *m);
void manager_shutdown_cgroup(Manager *m, bool delete);