commit | 28fd6f30ac3efd9170ae1ac89f3521d53b5eb83a | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Mon Nov 19 08:13:36 2012 -0800 |
committer | Tejun Heo <tj@kernel.org> | Mon Nov 19 08:13:36 2012 -0800 |
tree | 8f9742385f1e8447c3b66e8f87d7c2fc5ae4441c | |
parent | 2243076ad128d0cc196cf6597e6ddcf6bc907676 [diff] |
cgroup: open-code cgroup_create_dir() 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: Tejun Heo <tj@kernel.org> Acked-by: Li Zefan <lizefan@huawei.com>