Commit ef4413fa by Serge Hallyn

use hierarchy base path not just controller cgroup

parent f0368a9f
...@@ -1359,7 +1359,7 @@ static bool cgfsng_mount(void *hdata, const char *root, int type) ...@@ -1359,7 +1359,7 @@ static bool cgfsng_mount(void *hdata, const char *root, int type)
free(controllerpath); free(controllerpath);
continue; continue;
} }
path2 = must_make_path(controllerpath, d->container_cgroup, NULL); path2 = must_make_path(controllerpath, h->base_cgroup, d->container_cgroup, NULL);
if (mkdir_p(path2, 0755) < 0) { if (mkdir_p(path2, 0755) < 0) {
free(controllerpath); free(controllerpath);
goto bad; goto bad;
......
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