X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fcore%2Fcgroup.h;h=0a079e909d16c9f60d1c9b9a1635ae4e8328cbb8;hp=96f1d9f7b6217a1601a29996884b14ff98a22145;hb=ddca82aca08712a302cfabdbe59f73ee9ed3f73a;hpb=4ad490007b70e6ac18d3cb04fa2ed92eba1451fa diff --git a/src/core/cgroup.h b/src/core/cgroup.h index 96f1d9f7b..0a079e909 100644 --- a/src/core/cgroup.h +++ b/src/core/cgroup.h @@ -77,7 +77,6 @@ struct CGroupContext { LIST_HEAD(CGroupBlockIODeviceBandwidth, blockio_device_bandwidths); uint64_t memory_limit; - uint64_t memory_soft_limit; CGroupDevicePolicy device_policy; LIST_HEAD(CGroupDeviceAllow, device_allow); @@ -97,7 +96,7 @@ void cgroup_context_free_device_allow(CGroupContext *c, CGroupDeviceAllow *a); void cgroup_context_free_blockio_device_weight(CGroupContext *c, CGroupBlockIODeviceWeight *w); void cgroup_context_free_blockio_device_bandwidth(CGroupContext *c, CGroupBlockIODeviceBandwidth *b); -void unit_realize_cgroup(Unit *u); +int unit_realize_cgroup(Unit *u); void unit_destroy_cgroup(Unit *u); int manager_setup_cgroup(Manager *m);