]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
cgroups: hande cpuset initialization race
authorChristian Brauner <christian.brauner@ubuntu.com>
Wed, 3 Jul 2019 15:57:48 +0000 (17:57 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Sun, 11 Aug 2019 19:39:13 +0000 (21:39 +0200)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/cgroups/cgfsng.c

index 95a87d5aa9c6b82b6fed30e8107846a3e14f2c9d..a6e2d51b11906e013f670924d9f583a9fbb6839d 100644 (file)
@@ -612,10 +612,8 @@ static bool cg_legacy_handle_cpuset_hierarchy(struct hierarchy *h, char *cgname)
        }
 
        /* Already set for us by someone else. */
-       if (v == '1') {
-               DEBUG("\"cgroup.clone_children\" was already set to \"1\"");
-               return true;
-       }
+       if (v == '1')
+               TRACE("\"cgroup.clone_children\" was already set to \"1\"");
 
        /* copy parent's settings */
        if (!copy_parent_file(cgpath, "cpuset.mems")) {