From: Christian Brauner Date: Tue, 20 Nov 2018 17:06:43 +0000 (+0100) Subject: cgfsng: remove freezer requirement X-Git-Tag: lxc-3.1.0~10^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2732%2Fhead;p=thirdparty%2Flxc.git cgfsng: remove freezer requirement The freezer controller has been made optional in all other codepaths so don't require it. Signed-off-by: Christian Brauner --- diff --git a/src/lxc/cgroups/cgfsng.c b/src/lxc/cgroups/cgfsng.c index 1631319ec..ab99b47c5 100644 --- a/src/lxc/cgroups/cgfsng.c +++ b/src/lxc/cgroups/cgfsng.c @@ -703,11 +703,6 @@ static bool all_controllers_found(struct cgroup_ops *ops) char **cur; struct hierarchy **hlist = ops->hierarchies; - if (!controller_found(hlist, "freezer")) { - ERROR("No freezer controller mountpoint found"); - return false; - } - if (!ops->cgroup_use) return true;