Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2c731afb authored by Steve French's avatar Steve French
Browse files

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



CC: Stable Kernel <stable@kernel.org>
Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
parent 796aadeb
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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