https://github.com/torvalds/linux
Revision fa18f1bdce898f0efd0c8639c901d826d01be04f authored by Al Viro on 17 June 2011, 13:50:44 UTC, committed by Al Viro on 24 June 2011, 22:39:42 UTC
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 <piastryyy@gmail.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 parent ee01a14
History
Tip revision: fa18f1bdce898f0efd0c8639c901d826d01be04f authored by Al Viro on 17 June 2011, 13:50:44 UTC
cifs: more breakage on mount failures
Tip revision: fa18f1b
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 966 bytes
.mailmap -rw-r--r-- 4.2 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 92.3 KB
Kbuild -rw-r--r-- 2.4 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 190.0 KB
Makefile -rw-r--r-- 52.2 KB
README -rw-r--r-- 17.1 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top