summaryrefslogtreecommitdiffstats
path: root/arch/ia64
diff options
context:
space:
mode:
authorZefan Li <lizefan@huawei.com>2014-09-20 08:49:10 +0200
committerTejun Heo <tj@kernel.org>2014-09-20 19:09:35 +0200
commit0c7bf3e8cab7900e17ce7f97104c39927d835469 (patch)
treed2d21b9687e7ef63fe87f2bfc772367dfaa6f239 /arch/ia64
parentcgroup: fix missing unlock in cgroup_release_agent() (diff)
downloadlinux-0c7bf3e8cab7900e17ce7f97104c39927d835469.tar.xz
linux-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 'arch/ia64')
0 files changed, 0 insertions, 0 deletions