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 22, 2018
1 parent d53bf09 commit 34fcc38
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/lxc/cgroups/cgfsng.c
Expand Up @@ -704,11 +704,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 34fcc38

Please sign in to comment.