]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/basic/cgroup-util.c
cgroup: rework cg_all_unified() 5444/head
authorLennart Poettering <lennart@poettering.net>
Fri, 24 Feb 2017 17:05:31 +0000 (18:05 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 24 Feb 2017 17:05:31 +0000 (18:05 +0100)
commit4bb652ac2fe25d4c85072c9f2f610319ac9981ee
tree7a0e461d5e06086b59f1b1eff05f7047a0cce82f
parent1fcca10eb364f45eb96ea46f8447a9bd41f3d623
cgroup: rework cg_all_unified()

Let's just check the unified level, directly. There's really no value in
wrapping cg_unified_controllers() with this, i.e. potentially do string
comparison when there's no reason to.

Also, this makes the clal more alike cg_hybrid_unified().
src/basic/cgroup-util.c