Commit 90cc576c authored by Steve French's avatar Steve French Committed by Greg Kroah-Hartman

CIFS: if get root inode fails during mount, cleanup tree connection

commit 2c731afb upstream
Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 082e898d
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment