cgroups: be stricter when creating payloads

parent a6aeb9f1
......@@ -1409,7 +1409,7 @@ __cgfsng_ops static bool cgfsng_payload_create(struct cgroup_ops *ops, struct lx
if (!ops->hierarchies)
return true;
if (ops->container_cgroup)
if (ops->container_cgroup || ops->container_limit_cgroup)
return ret_set_errno(false, EEXIST);
if (!handler || !handler->conf)
......
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