提交 2c731afb 编写于 作者: S Steve French

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

CC: Stable Kernel <stable@kernel.org>
Signed-off-by: NSteve French <sfrench@us.ibm.com>
上级 796aadeb
无相关合并请求
......@@ -174,6 +174,8 @@ cifs_read_super(struct super_block *sb, void *data,
cERROR(1, ("cifs_read_super: get root inode failed"));
if (inode)
iput(inode);
cifs_umount(sb, cifs_sb);
out_mount_failed:
if (cifs_sb) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部