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 <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -106,7 +106,7 @@ void pde_users_dec(struct proc_dir_entry *pde);
|
||||
|
||||
extern spinlock_t proc_subdir_lock;
|
||||
|
||||
struct dentry *proc_pid_lookup(struct inode *dir, struct dentry * dentry, struct nameidata *);
|
||||
struct dentry *proc_pid_lookup(struct inode *dir, struct dentry * dentry, unsigned int);
|
||||
int proc_pid_readdir(struct file * filp, void * dirent, filldir_t filldir);
|
||||
unsigned long task_vsize(struct mm_struct *);
|
||||
unsigned long task_statm(struct mm_struct *,
|
||||
@@ -132,7 +132,7 @@ int proc_remount(struct super_block *sb, int *flags, char *data);
|
||||
* of the /proc/<pid> subdirectories.
|
||||
*/
|
||||
int proc_readdir(struct file *, void *, filldir_t);
|
||||
struct dentry *proc_lookup(struct inode *, struct dentry *, struct nameidata *);
|
||||
struct dentry *proc_lookup(struct inode *, struct dentry *, unsigned int);
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user