cgroup: let a symlink too be created with a cftype file
authorAngelo Ruocco <angeloruocco90@gmail.com>
Tue, 21 May 2019 08:01:54 +0000 (10:01 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 7 Jun 2019 07:29:39 +0000 (01:29 -0600)
commit54b7b868e826b294687c439b68ec55fe20cafe5b
treeb313bb034660d32f62dc725718a373e214aceeca
parentc3e2219216c92919a6bd1711f340f5faa98695e6
cgroup: let a symlink too be created with a cftype file

This commit enables a cftype to have a symlink (of any name) that
points to the file associated with the cftype.

Signed-off-by: Angelo Ruocco <angeloruocco90@gmail.com>
Signed-off-by: Paolo Valente <paolo.valente@linaro.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/cgroup-defs.h
kernel/cgroup/cgroup.c