commands: use __cgroup_unfreeze() directly

parent c9c814f4
......@@ -897,7 +897,10 @@ static int lxc_cmd_stop_callback(int fd, struct lxc_cmd_req *req,
else
TRACE("Sent signal %d to pidfd %d", stopsignal, handler->pid);
ret = cgroup_ops->unfreeze(cgroup_ops, -1);
if (pure_unified_layout(cgroup_ops))
ret = __cgroup_unfreeze(cgroup_ops->unified->cgfd_limit, -1);
else
ret = cgroup_ops->unfreeze(cgroup_ops, -1);
if (ret)
WARN("Failed to unfreeze container \"%s\"", handler->name);
......
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