]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
cgfsng: coding style for cgfsng_payload_create()
authorChristian Brauner <christian.brauner@ubuntu.com>
Sun, 10 Feb 2019 09:52:45 +0000 (10:52 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Sun, 10 Feb 2019 09:57:53 +0000 (10:57 +0100)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/cgroups/cgfsng.c

index d03fcf390d15eea355f50fe3c498bb0acba9c3cc..76c7647b5ad994a3f0676f606cbe39371760af8f 100644 (file)
@@ -1431,10 +1431,14 @@ __cgfsng_ops static inline bool cgfsng_payload_create(struct cgroup_ops *ops,
                        return false;
 
                for (i = 0; ops->hierarchies[i]; i++) {
-                       if (!container_create_path_for_hierarchy(ops->hierarchies[i], container_cgroup)) {
-                               ERROR("Failed to create cgroup \"%s\"", ops->hierarchies[i]->container_full_path);
+                       if (!container_create_path_for_hierarchy(ops->hierarchies[i],
+                                                                container_cgroup)) {
+                               ERROR("Failed to create cgroup \"%s\"",
+                                     ops->hierarchies[i]->container_full_path);
                                for (int j = 0; j < i; j++)
-                                       remove_path_for_hierarchy(ops->hierarchies[j], container_cgroup, false);
+                                       remove_path_for_hierarchy(ops->hierarchies[j],
+                                                                 container_cgroup,
+                                                                 false);
                                idx++;
                                break;
                        }