diff options
author | 2013-01-24 14:30:22 +0800 | |
---|---|---|
committer | 2013-01-24 12:05:17 -0800 | |
commit | fe1c06ca7523baa668c1eaf1e1016fa64753c32e (patch) | |
tree | 25a86fc2be7a9c155bb490332696b4228964207d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cgroup: remove a NULL check in cgroup_exit() (diff) | |
download | linux-dev-fe1c06ca7523baa668c1eaf1e1016fa64753c32e.tar.xz linux-dev-fe1c06ca7523baa668c1eaf1e1016fa64753c32e.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions