mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
stop passing nameidata to ->lookup()
Just the flags; only NFS cares even about that, but there are legitimate uses for such argument. And getting rid of that completely would require splitting ->lookup() into a couple of methods (at least), so let's leave that alone for now... Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
201f956e43
commit
00cd8dd3bf
79 changed files with 115 additions and 114 deletions
|
|
@ -31,7 +31,7 @@ static void ncp_do_readdir(struct file *, void *, filldir_t,
|
|||
static int ncp_readdir(struct file *, void *, filldir_t);
|
||||
|
||||
static int ncp_create(struct inode *, struct dentry *, umode_t, struct nameidata *);
|
||||
static struct dentry *ncp_lookup(struct inode *, struct dentry *, struct nameidata *);
|
||||
static struct dentry *ncp_lookup(struct inode *, struct dentry *, unsigned int);
|
||||
static int ncp_unlink(struct inode *, struct dentry *);
|
||||
static int ncp_mkdir(struct inode *, struct dentry *, umode_t);
|
||||
static int ncp_rmdir(struct inode *, struct dentry *);
|
||||
|
|
@ -836,7 +836,7 @@ out:
|
|||
return result;
|
||||
}
|
||||
|
||||
static struct dentry *ncp_lookup(struct inode *dir, struct dentry *dentry, struct nameidata *nd)
|
||||
static struct dentry *ncp_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags)
|
||||
{
|
||||
struct ncp_server *server = NCP_SERVER(dir);
|
||||
struct inode *inode = NULL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue