]> git.proxmox.com Git - mirror_lxc.git/commitdiff
cgfsng: remove freezer requirement
authorChristian Brauner <christian.brauner@ubuntu.com>
Tue, 20 Nov 2018 17:06:43 +0000 (18:06 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Tue, 20 Nov 2018 17:06:43 +0000 (18:06 +0100)
The freezer controller has been made optional in all other codepaths so
don't require it.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/cgroups/cgfsng.c

index 1631319ec8abdfccb1fed72fe9842f966526b16a..ab99b47c52b08cc9419f028942494521c35c078f 100644 (file)
@@ -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;