Skip to content

Commit

Permalink
[PATCH] don't pass nameidata to __ncp_lookup_validate()
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <[email protected]>
  • Loading branch information
Al Viro committed Jul 27, 2008
1 parent a569c71 commit 58ec42b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/ncpfs/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit 58ec42b

Please sign in to comment.