[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>
This commit is contained in:
parent
796aadeb1b
commit
2c731afb0d
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue