From: Al Viro Date: Fri, 17 Jun 2011 13:50:44 +0000 (-0400) Subject: cifs: more breakage on mount failures X-Git-Tag: v3.0-rc5~31^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa18f1bdce898f0efd0c8639c901d826d01be04f;p=pandora-kernel.git cifs: more breakage on mount failures if cifs_get_root() fails, we end up with ->mount() returning NULL, which is not what callers expect. Moreover, in case of superblock reuse we end up leaking a superblock reference... Acked-by: Pavel Shilovsky Reviewed-by: Jeff Layton Signed-off-by: Al Viro --- Reading git-diff-tree failed