aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/root.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/proc/root.c')
-rw-r--r--fs/proc/root.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/fs/proc/root.c b/fs/proc/root.c
index 7c30fce037c0..568b20290c75 100644
--- a/fs/proc/root.c
+++ b/fs/proc/root.c
@@ -200,13 +200,12 @@ static int proc_root_getattr(struct vfsmount *mnt, struct dentry *dentry, struct
200 return 0; 200 return 0;
201} 201}
202 202
203static struct dentry *proc_root_lookup(struct inode * dir, struct dentry * dentry, struct nameidata *nd) 203static struct dentry *proc_root_lookup(struct inode * dir, struct dentry * dentry, unsigned int flags)
204{ 204{
205 if (!proc_lookup(dir, dentry, nd)) { 205 if (!proc_lookup(dir, dentry, flags))
206 return NULL; 206 return NULL;
207 }
208 207
209 return proc_pid_lookup(dir, dentry, nd); 208 return proc_pid_lookup(dir, dentry, flags);
210} 209}
211 210
212static int proc_root_readdir(struct file * filp, 211static int proc_root_readdir(struct file * filp,