• Tejun Heo's avatar
    cgroup: reorder operations in cgroup_mkdir() · 195e9b6c
    Tejun Heo authored
    Currently, operations to initialize internal objects and create
    interface directory and files are intermixed in cgroup_mkdir().  We're
    in the process of refactoring cgroup and css management paths to
    separate them out to eventually allow cgroups which aren't visible
    through cgroup fs.
    
    This patch reorders operations inside cgroup_mkdir() so that interface
    directory and file handling comes after internal object
    initialization.  This will enable further refactoring.
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    Acked-by: default avatarZefan Li <lizefan@huawei.com>
    195e9b6c
cgroup.c 163 KB