Commit 908e0ee5 by Michael Sparmann Committed by Michael Sparmann

Fix lxc.cgroup2.<controller> on cgroup2-only systems

parent 31d55f8f
...@@ -2684,6 +2684,7 @@ static int cg_unified_init(struct cgroup_ops *ops, bool relative, ...@@ -2684,6 +2684,7 @@ static int cg_unified_init(struct cgroup_ops *ops, bool relative,
cg_unified_delegate(&new->cgroup2_chown); cg_unified_delegate(&new->cgroup2_chown);
ops->cgroup_layout = CGROUP_LAYOUT_UNIFIED; ops->cgroup_layout = CGROUP_LAYOUT_UNIFIED;
ops->unified = new;
return CGROUP2_SUPER_MAGIC; return CGROUP2_SUPER_MAGIC;
} }
......
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