From: Serge Hallyn Date: Thu, 17 Mar 2016 04:22:00 +0000 (-0700) Subject: use hierarchy base path not just controller cgroup X-Git-Tag: lxc-2.0.0.rc11~3^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef4413faac4533bfa0cc76dd70e921852bb25bc4;p=thirdparty%2Flxc.git use hierarchy base path not just controller cgroup Signed-off-by: Serge Hallyn --- diff --git a/src/lxc/cgfsng.c b/src/lxc/cgfsng.c index 7ce1fd092..c658d91d6 100644 --- a/src/lxc/cgfsng.c +++ b/src/lxc/cgfsng.c @@ -1359,7 +1359,7 @@ static bool cgfsng_mount(void *hdata, const char *root, int type) free(controllerpath); 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) { free(controllerpath); goto bad;