From: Al Viro Date: Wed, 23 Jul 2008 18:45:55 +0000 (-0400) Subject: [PATCH] don't pass nameidata to __ncp_lookup_validate() X-Git-Tag: v2.6.27-rc1~73^2~7 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=58ec42b061bf5dad8fa0370a19966cfd96eaf80c;p=linux-2.6-omap-h63xx.git [PATCH] don't pass nameidata to __ncp_lookup_validate() Signed-off-by: Al Viro --- diff --git a/fs/ncpfs/dir.c b/fs/ncpfs/dir.c index 011ef0b6d2d..07e9715b865 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; }