From: Tejun Heo Date: Mon, 19 Nov 2012 16:13:36 +0000 (-0800) Subject: cgroup: open-code cgroup_create_dir() X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~57^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28fd6f30ac3efd9170ae1ac89f3521d53b5eb83a;p=pandora-kernel.git 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 Acked-by: Li Zefan --- Reading git-diff-tree failed