commit | fe1c06ca7523baa668c1eaf1e1016fa64753c32e | [log] [tgz] |
---|---|---|
author | Li Zefan <lizefan@huawei.com> | Thu Jan 24 14:30:22 2013 +0800 |
committer | Tejun Heo <tj@kernel.org> | Thu Jan 24 12:05:17 2013 -0800 |
tree | 25a86fc2be7a9c155bb490332696b4228964207d | |
parent | b5d646f5d5a135064232ff3a140a47a5b84bc911 [diff] |
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 <lizefan@huawei.com> Signed-off-by: Tejun Heo <tj@kernel.org>