diff options
author | Tejun Heo <tj@kernel.org> | 2012-11-19 08:13:36 -0800 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2012-11-19 08:13:36 -0800 |
commit | 28fd6f30ac3efd9170ae1ac89f3521d53b5eb83a (patch) | |
tree | 8f9742385f1e8447c3b66e8f87d7c2fc5ae4441c /kernel/workqueue.c | |
parent | 2243076ad128d0cc196cf6597e6ddcf6bc907676 (diff) | |
download | lwn-28fd6f30ac3efd9170ae1ac89f3521d53b5eb83a.tar.gz lwn-28fd6f30ac3efd9170ae1ac89f3521d53b5eb83a.zip |
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>
Diffstat (limited to 'kernel/workqueue.c')
0 files changed, 0 insertions, 0 deletions