Merge pull request #9504 from poettering/nss-deadlock

some nss deadlock love
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2018-07-26 10:16:25 +02:00
committed by GitHub
9 changed files with 134 additions and 9 deletions
+2 -2
View File
@@ -505,9 +505,9 @@ static int bus_append_cgroup_property(sd_bus_message *m, const char *field, cons
path = strndupa(eq, e - eq);
bandwidth = e+1;
if (streq(bandwidth, "infinity")) {
if (streq(bandwidth, "infinity"))
bytes = CGROUP_LIMIT_MAX;
} else {
else {
r = parse_size(bandwidth, 1000, &bytes);
if (r < 0)
return log_error_errno(r, "Failed to parse byte value %s: %m", bandwidth);