mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -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
|
|
@ -27,7 +27,7 @@ static int jffs2_readdir (struct file *, void *, filldir_t);
|
|||
static int jffs2_create (struct inode *,struct dentry *,umode_t,
|
||||
struct nameidata *);
|
||||
static struct dentry *jffs2_lookup (struct inode *,struct dentry *,
|
||||
struct nameidata *);
|
||||
unsigned int);
|
||||
static int jffs2_link (struct dentry *,struct inode *,struct dentry *);
|
||||
static int jffs2_unlink (struct inode *,struct dentry *);
|
||||
static int jffs2_symlink (struct inode *,struct dentry *,const char *);
|
||||
|
|
@ -74,7 +74,7 @@ const struct inode_operations jffs2_dir_inode_operations =
|
|||
nice and simple
|
||||
*/
|
||||
static struct dentry *jffs2_lookup(struct inode *dir_i, struct dentry *target,
|
||||
struct nameidata *nd)
|
||||
unsigned int flags)
|
||||
{
|
||||
struct jffs2_inode_info *dir_f;
|
||||
struct jffs2_full_dirent *fd = NULL, *fd_list;
|
||||
|
|
|
|||
Loading…
Reference in a new issue