summaryrefslogtreecommitdiff
path: root/kernel/workqueue.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2012-11-19 08:13:36 -0800
committerTejun Heo <tj@kernel.org>2012-11-19 08:13:36 -0800
commit28fd6f30ac3efd9170ae1ac89f3521d53b5eb83a (patch)
tree8f9742385f1e8447c3b66e8f87d7c2fc5ae4441c /kernel/workqueue.c
parent2243076ad128d0cc196cf6597e6ddcf6bc907676 (diff)
downloadlwn-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