diff options
author | Tejun Heo | 2016-03-03 15:57:58 +0100 |
---|---|---|
committer | Tejun Heo | 2016-03-03 15:57:58 +0100 |
commit | 6cd0f5bbaf594f40a97d01dbc565dda41f30d37c (patch) | |
tree | 425f8c38aeb24e944d2a0fac9b59b075e396d509 /include/linux/cgroup-defs.h | |
parent | cgroup: suppress spurious de-populated events (diff) | |
download | kernel-qcow2-linux-6cd0f5bbaf594f40a97d01dbc565dda41f30d37c.tar.gz kernel-qcow2-linux-6cd0f5bbaf594f40a97d01dbc565dda41f30d37c.tar.xz kernel-qcow2-linux-6cd0f5bbaf594f40a97d01dbc565dda41f30d37c.zip |
cgroup: separate out interface file creation from css creation
Currently, interface files are created when a css is created depending
on whether @visible is set. This patch separates out the two into
separate steps to help code refactoring and eventually allow cgroups
which aren't visible through cgroup fs.
Move css_populate_dir() out of create_css() and drop @visible. While
at it, rename the function to css_create() for consistency.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Zefan Li <lizefan@huawei.com>
Diffstat (limited to 'include/linux/cgroup-defs.h')
0 files changed, 0 insertions, 0 deletions