mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-14 13:31:27 +00:00
Merge pull request #3385 from brauner/2020-04-15/fixes
cgroups: fix cgroup limit braino
This commit is contained in:
commit
4fa41f3562
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user