]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/dbus-cgroup.c
cgroup: relax checks for block device cgroup settings
authorLennart Poettering <lennart@poettering.net>
Mon, 11 Jun 2018 10:19:01 +0000 (12:19 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 11 Jun 2018 16:01:06 +0000 (18:01 +0200)
commit9d5e9b4add4d22dedc9d3286bfae9687a2a7c641
treebf0e6c7ae93570e667ddf307139448a16cf53b56
parent45c2e0685463b9d47fb647b1a94467fefd21b05c
cgroup: relax checks for block device cgroup settings

This drops needless safety checks that ensure we only reference block
devices for blockio/io settings. The backing code was already able to
accept regular file system paths too, in which case the backing device
node of that file system would be used. Hence, let's drop the artificial
restrictions and open up this underlying functionality.
src/core/dbus-cgroup.c
src/core/load-fragment.c