Skip to content

Commit

Permalink
cgfsng: remove freezer requirement
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christian Brauner committed Nov 20, 2018
1 parent ac71480 commit 4143c20
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/lxc/cgroups/cgfsng.c
Expand Up @@ -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;

Expand Down

0 comments on commit 4143c20

Please sign in to comment.