]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite435bbdbfe07935613dd1f2f43f4a5d76a187a2a
treeb313bb034660d32f62dc725718a373e214aceeca
parente72441bc71cd715fb697d342faee2897dfa5d0c1
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