From: Zefan Li Date: Sat, 20 Sep 2014 06:49:10 +0000 (+0800) Subject: cgroup: remove redundant variable in cgroup_mount() X-Git-Tag: fixes-against-v3.18-rc2~135^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c7bf3e8cab7900e17ce7f97104c39927d835469;p=pandora-kernel.git 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 Signed-off-by: Zefan Li Signed-off-by: Tejun Heo --- Reading git-diff-tree failed