mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-04 04:02:26 +00:00
[PATCH] don't pass nameidata to __ncp_lookup_validate()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
a569c711f6
commit
58ec42b061
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user