提交 8a03feab 编写于 作者: A Al Viro

[PATCH] double dput() on failure exit in tiny-shmem

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 430e285e
......@@ -89,6 +89,8 @@ struct file *shmem_file_setup(char *name, loff_t size, unsigned long flags)
close_file:
put_filp(file);
return ERR_PTR(error);
put_dentry:
dput(dentry);
put_memory:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册