commit | fa18f1bdce898f0efd0c8639c901d826d01be04f | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Fri Jun 17 09:50:44 2011 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Fri Jun 24 18:39:42 2011 -0400 |
tree | 1165e5c3172792bf9d9ce4340380b9e7c73b7499 | |
parent | ee01a14d9ddcf3f832f9ceb837888501cb496e27 [diff] |
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 <piastryyy@gmail.com> Reviewed-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>