aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorLi Zefan <lizefan@huawei.com>2013-01-24 01:30:22 -0500
committerTejun Heo <tj@kernel.org>2013-01-24 15:05:17 -0500
commitfe1c06ca7523baa668c1eaf1e1016fa64753c32e (patch)
tree25a86fc2be7a9c155bb490332696b4228964207d /include/linux/sched.h
parentb5d646f5d5a135064232ff3a140a47a5b84bc911 (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>
Diffstat (limited to 'include/linux/sched.h')
0 files changed, 0 insertions, 0 deletions