• Tejun Heo's avatar
    cgroup: implement cgroup_rm_cftypes() · 79578621
    Tejun Heo authored
    Implement cgroup_rm_cftypes() which removes an array of cftypes from a
    subsystem.  It can be called whether the target subsys is attached or
    not.  cgroup core will remove the specified file from all existing
    cgroups.
    
    This will be used to improve sub-subsys modularity and will be helpful
    for unified hierarchy.
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    Acked-by: default avatarLi Zefan <lizf@cn.fujitsu.com>
    79578621
cgroup.c 143 KB