]> git.ipfire.org Git - thirdparty/systemd.git/commit
cgroup: Simplify cg_get_path_and_check
authorMichal Koutný <mkoutny@suse.com>
Tue, 26 Jan 2021 16:07:00 +0000 (17:07 +0100)
committerMichal Koutný <mkoutny@suse.com>
Thu, 11 Feb 2021 10:51:59 +0000 (11:51 +0100)
commit81504017f462db1ef4ce2c1f617535f261fe01cc
tree1588abde9d38011bbceadafa835ffa2d8deb2d89
parent372a5002dceba319e39b83c9dae3ce6d1c7cfb51
cgroup: Simplify cg_get_path_and_check

The function controller_is_accessible() doesn't do really much in case
of the unified hierarchy. Move common parts into cg_get_path_and_check
and make controller check v1 specific. This is refactoring only.
src/basic/cgroup-util.c