• T
    cgroup: open-code cgroup_create_dir() · 28fd6f30
    Tejun Heo 提交于
    The operation order of cgroup creation is about to change and
    cgroup_create_dir() is more of a hindrance than a proper abstraction.
    Open-code it by moving the parent nlink adjustment next to self nlink
    adjustment in cgroup_create_file() and the rest to cgroup_create().
    
    This patch doesn't introduce any behavior change.
    Signed-off-by: NTejun Heo <tj@kernel.org>
    Acked-by: NLi Zefan <lizefan@huawei.com>
    28fd6f30
cgroup.c 145.2 KB