]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Revert "cgroupfs: get rid of the redundant error info"
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Thu, 23 Jan 2014 19:02:15 +0000 (13:02 -0600)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Thu, 23 Jan 2014 19:02:15 +0000 (13:02 -0600)
This reverts commit a8117b3361c9caf1397f4dc9bbb5e6de3af3cdff.

src/lxc/cgroup.c

index 0898f467646a6fd436b93edfd726d7f98900e92e..4da0e0730181dff3c813503d2ec9c5bf59c6f1f6 100644 (file)
@@ -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
                                 * 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;
+                               }
 
                                /* 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