summaryrefslogtreecommitdiff
path: root/src/systemctl
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-09-17 14:58:00 -0500
committerLennart Poettering <lennart@poettering.net>2013-09-17 14:58:00 -0500
commitddca82aca08712a302cfabdbe59f73ee9ed3f73a (patch)
tree9e2b487840cf91cb27386ac932616386a4d1f101 /src/systemctl
parent387abf80ad40e4a6c2f4725c8eff4d66bf110d1f (diff)
downloadsystemd-ddca82aca08712a302cfabdbe59f73ee9ed3f73a.tar.gz
cgroup: get rid of MemorySoftLimit=
The cgroup attribute memory.soft_limit_in_bytes is unlikely to stay around in the kernel for good, so let's not expose it for now. We can readd something like it later when the kernel guys decided on a final API for this.
Diffstat (limited to 'src/systemctl')
-rw-r--r--src/systemctl/systemctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
index 57e5bb941b..62b5616d80 100644
--- a/src/systemctl/systemctl.c
+++ b/src/systemctl/systemctl.c
@@ -3657,7 +3657,7 @@ static int append_assignment(DBusMessageIter *iter, const char *assignment) {
!dbus_message_iter_append_basic(&sub, DBUS_TYPE_BOOLEAN, &b))
return log_oom();
- } else if (streq(field, "MemoryLimit") || streq(field, "MemorySoftLimit")) {
+ } else if (streq(field, "MemoryLimit")) {
off_t bytes;
uint64_t u;