diff options
author | Steve French <sfrench@us.ibm.com> | 2008-08-15 19:05:06 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-08-20 11:05:04 -0700 |
commit | 90cc576c1fbfbee4d4e1ada7d877c46969c7cd3b (patch) | |
tree | 8289bddd6bb6859bf74abc71eb4eaa05b48ea587 | |
parent | 082e898def44f5faf1f3328f258d443500f7522b (diff) |
CIFS: if get root inode fails during mount, cleanup tree connection
commit 2c731afb0d4ba16018b400c75665fbdb8feb2175 upstream
Signed-off-by: Steve French <sfrench@us.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | fs/cifs/cifsfs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c index 86b4d5f405a..6203609d316 100644 --- a/fs/cifs/cifsfs.c +++ b/fs/cifs/cifsfs.c @@ -175,6 +175,8 @@ out_no_root: if (inode) iput(inode); + cifs_umount(sb, cifs_sb); + out_mount_failed: if (cifs_sb) { #ifdef CONFIG_CIFS_DFS_UPCALL |