From: Li Zefan Date: Thu, 24 Jan 2013 06:30:22 +0000 (+0800) Subject: cgroup: initialize cgrp->dentry before css_alloc() X-Git-Tag: v3.9-rc1~157^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe1c06ca7523baa668c1eaf1e1016fa64753c32e;p=pandora-kernel.git cgroup: initialize cgrp->dentry before css_alloc() With this change, we're guaranteed that cgroup_path() won't see NULL cgrp->dentry, and thus we can remove the NULL check in it. (Well, it's not strictly true, because dummptop.dentry is always NULL but we already handle that separately.) Signed-off-by: Li Zefan Signed-off-by: Tejun Heo --- Reading git-diff-tree failed