]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/mount-setup.c
cgroup-util: move Set* allocation into cg_kernel_controllers()
authorLennart Poettering <lennart@poettering.net>
Fri, 17 Nov 2017 15:27:13 +0000 (16:27 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 21 Nov 2017 10:54:08 +0000 (11:54 +0100)
commit6925a0de4eaf181c08d7380249461abe5c42fe3f
treeed3707a30d77cdcaae122c27dbc0a510b249bffa
parentbf516294c89d8db9769d90b4f90c177adafa038c
cgroup-util: move Set* allocation into cg_kernel_controllers()

Previously, callers had to do this on their own. Let's make the call do
that instead, making the caller code a bit shorter.
src/basic/cgroup-util.c
src/basic/cgroup-util.h
src/core/mount-setup.c
src/nspawn/nspawn-mount.c