cgfsng: remove freezer requirement

The freezer controller has been made optional in all other codepaths so don't require it. Signed-off-by: 's avatarChristian Brauner <christian.brauner@ubuntu.com>
parent d53bf098
...@@ -704,11 +704,6 @@ static bool all_controllers_found(struct cgroup_ops *ops) ...@@ -704,11 +704,6 @@ static bool all_controllers_found(struct cgroup_ops *ops)
char **cur; char **cur;
struct hierarchy **hlist = ops->hierarchies; struct hierarchy **hlist = ops->hierarchies;
if (!controller_found(hlist, "freezer")) {
ERROR("No freezer controller mountpoint found");
return false;
}
if (!ops->cgroup_use) if (!ops->cgroup_use)
return true; return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment