提交 58ec42b0 编写于 作者: A Al Viro

[PATCH] don't pass nameidata to __ncp_lookup_validate()

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 a569c711
......@@ -266,7 +266,7 @@ leave_me:;
static int
__ncp_lookup_validate(struct dentry * dentry, struct nameidata *nd)
__ncp_lookup_validate(struct dentry *dentry)
{
struct ncp_server *server;
struct dentry *parent;
......@@ -340,7 +340,7 @@ ncp_lookup_validate(struct dentry * dentry, struct nameidata *nd)
{
int res;
lock_kernel();
res = __ncp_lookup_validate(dentry, nd);
res = __ncp_lookup_validate(dentry);
unlock_kernel();
return res;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册