diff options
author | Li Zefan <lizefan@huawei.com> | 2013-01-24 06:30:22 (GMT) |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2013-01-24 20:05:17 (GMT) |
commit | fe1c06ca7523baa668c1eaf1e1016fa64753c32e (patch) | |
tree | 25a86fc2be7a9c155bb490332696b4228964207d /kernel/sched/core.c | |
parent | b5d646f5d5a135064232ff3a140a47a5b84bc911 (diff) | |
download | linux-fsl-qoriq-fe1c06ca7523baa668c1eaf1e1016fa64753c32e.tar.xz |
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>
Diffstat (limited to 'kernel/sched/core.c')
0 files changed, 0 insertions, 0 deletions