mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-13 12:22:54 +00:00
Merge pull request #2897 from TheSeven/master
Fix lxc.cgroup2.<controller> on cgroup2-only systems
This commit is contained in:
commit
75df77797b
@ -2684,6 +2684,7 @@ static int cg_unified_init(struct cgroup_ops *ops, bool relative,
|
||||
cg_unified_delegate(&new->cgroup2_chown);
|
||||
|
||||
ops->cgroup_layout = CGROUP_LAYOUT_UNIFIED;
|
||||
ops->unified = new;
|
||||
return CGROUP2_SUPER_MAGIC;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user