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

index 619727267fa89041aa8413456b73afec95d23f1f..87e12d2ddd68d601b375203b882ae603fcbff94b 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")) {