cgroup: use device_path_parse_major_minor() also for block device paths
authorLennart Poettering <lennart@poettering.net>
Mon, 2 Jul 2018 16:20:03 +0000 (18:20 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 29 Nov 2018 19:21:39 +0000 (20:21 +0100)
commitd5aecba6e0b7c73657c4cf544ce57289115098e7
treef7f70a9fb317e0c98123758f58ebc68af6a557f6
parent54b22b2643de50945aaaf720a444ea4467ddb0db
cgroup: use device_path_parse_major_minor() also for block device paths

Not only when we populate the "devices" cgroup controller we need
major/minor numbers, but for the io/blkio one it's the same, hence let's
use the same logic for both.
src/core/cgroup.c