diff options
author | 2014-09-20 14:49:10 +0800 | |
---|---|---|
committer | 2014-09-20 13:09:35 -0400 | |
commit | 0c7bf3e8cab7900e17ce7f97104c39927d835469 (patch) | |
tree | d2d21b9687e7ef63fe87f2bfc772367dfaa6f239 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cgroup: fix missing unlock in cgroup_release_agent() (diff) | |
download | linux-rng-0c7bf3e8cab7900e17ce7f97104c39927d835469.tar.xz linux-rng-0c7bf3e8cab7900e17ce7f97104c39927d835469.zip |
cgroup: remove redundant variable in cgroup_mount()
Both pinned_sb and new_sb indicate if a new superblock is needed,
so we can just remove new_sb.
Note now we must check if kernfs_tryget_sb() returns NULL, because
when it returns NULL, kernfs_mount() may still re-use an existing
superblock, which is just allocated by another concurent mount.
Suggested-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Zefan Li <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