]> git.ipfire.org Git - thirdparty/systemd.git/commit
cgroup: Cleanup function usage 15662/head
authorMichal Koutný <mkoutny@suse.com>
Fri, 1 May 2020 12:00:42 +0000 (14:00 +0200)
committerMichal Koutný <mkoutny@suse.com>
Wed, 19 Aug 2020 09:41:53 +0000 (11:41 +0200)
commitd9ef594454d41adf28b2cbc900cb7c781ce40160
treee083b0ba577a4061b70d9a2510adc840c35112b3
parent12b975e06587e7e3c9c60fef74856574eba5c96f
cgroup: Cleanup function usage

Some masks shouldn't be needed externally, so keep their functions in
the module (others would fit there too but they're used in tests) to
think twice if something would depend on them.

Drop unused function cg_attach_many_everywhere.

Use cgroup_realized instead of cgroup_path when we actually ask for
realized.

This should not cause any functional changes.
src/core/cgroup.c
src/core/cgroup.h
src/shared/cgroup-setup.c
src/shared/cgroup-setup.h