Commit f6ac3b9e by Serge Hallyn

Revert "cgroupfs: get rid of the redundant error info"

This reverts commit a8117b33.
parent fec822c4
...@@ -968,8 +968,10 @@ struct cgroup_process_info *lxc_cgroupfs_create(const char *name, const char *pa ...@@ -968,8 +968,10 @@ struct cgroup_process_info *lxc_cgroupfs_create(const char *name, const char *pa
/* if we didn't create the cgroup, then we have to make sure that /* if we didn't create the cgroup, then we have to make sure that
* further cgroups will be created properly * further cgroups will be created properly
*/ */
if (handle_cgroup_settings(mp, info_ptr->cgroup_path) < 0) if (handle_cgroup_settings(mp, info_ptr->cgroup_path) < 0) {
ERROR("Could not set clone_children to 1 for cpuset hierarchy in pre-existing cgroup.");
goto cleanup_from_error; goto cleanup_from_error;
}
/* already existed but path component of pattern didn't contain '%n', /* already existed but path component of pattern didn't contain '%n',
* so this is not an error; but then we don't need current_entire_path * so this is not an error; but then we don't need current_entire_path
......
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