projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a569c71
)
[PATCH] don't pass nameidata to __ncp_lookup_validate()
author
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 23 Jul 2008 18:45:55 +0000
(14:45 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Sun, 27 Jul 2008 00:53:37 +0000
(20:53 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ncpfs/dir.c
patch
|
blob
|
history
diff --git
a/fs/ncpfs/dir.c
b/fs/ncpfs/dir.c
index 011ef0b6d2d48eb9fcc391fc9180ceb4d34d4f6a..07e9715b865887042b899299effe1c4f37a7e106 100644
(file)
--- 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;
}