Merge pull request #2897 from TheSeven/master

Fix lxc.cgroup2.<controller> on cgroup2-only systems
This commit is contained in:
Christian Brauner 2019-03-07 00:26:34 +01:00 committed by GitHub
commit 75df77797b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}