commit | 2c731afb0d4ba16018b400c75665fbdb8feb2175 | [log] [tgz] |
---|---|---|
author | Steve French <sfrench@us.ibm.com> | Mon Aug 11 22:28:53 2008 +0000 |
committer | Steve French <sfrench@us.ibm.com> | Mon Aug 11 22:28:53 2008 +0000 |
tree | 5fdea27480673fb7e89d74783fb318ab1c2b35c8 | |
parent | 796aadeb1b2db9b5d463946766c5bbfd7717158c [diff] |
[CIFS] if get root inode fails during mount, cleanup tree connection CC: Stable Kernel <stable@kernel.org> Signed-off-by: Steve French <sfrench@us.ibm.com>
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c index e8da4ee..f50fc87 100644 --- a/fs/cifs/cifsfs.c +++ b/fs/cifs/cifsfs.c
@@ -174,6 +174,8 @@ cERROR(1, ("cifs_read_super: get root inode failed")); if (inode) iput(inode); + + cifs_umount(sb, cifs_sb); out_mount_failed: if (cifs_sb) {