Unverified Commit 4fa41f35 by Stéphane Graber Committed by GitHub

Merge pull request #3385 from brauner/2020-04-15/fixes

cgroups: fix cgroup limit braino
parents 2c46eaed 92afbe74
......@@ -2848,7 +2848,7 @@ __cgfsng_ops static bool cgfsng_setup_limits_legacy(struct cgroup_ops *ops,
if (!ops->hierarchies)
return ret_set_errno(false, EINVAL);
if (!pure_unified_layout(ops))
if (pure_unified_layout(ops))
return log_warn_errno(true, EINVAL, "Ignoring legacy cgroup limits on pure cgroup2 system");
sorted_cgroup_settings = sort_cgroup_settings(cgroup_settings);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment