summaryrefslogtreecommitdiffstats
path: root/fs/ncpfs
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2008-07-23 20:45:55 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2008-07-27 02:53:37 +0200
commit58ec42b061bf5dad8fa0370a19966cfd96eaf80c (patch)
tree391f3f71faf0e31b689d3b4e56347b12dad6f207 /fs/ncpfs
parent[PATCH] don't pass nameidata to gfs2_lookupi() (diff)
downloadlinux-58ec42b061bf5dad8fa0370a19966cfd96eaf80c.tar.xz
linux-58ec42b061bf5dad8fa0370a19966cfd96eaf80c.zip
[PATCH] don't pass nameidata to __ncp_lookup_validate()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ncpfs')
-rw-r--r--fs/ncpfs/dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ncpfs/dir.c b/fs/ncpfs/dir.c
index 011ef0b6d2d4..07e9715b8658 100644
--- a/fs/ncpfs/dir.c
+++ b/fs/ncpfs/dir.c
@@ -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;
}