diff options
Diffstat (limited to 'fs/proc/root.c')
-rw-r--r-- | fs/proc/root.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/proc/root.c b/fs/proc/root.c index 92c12c243ce3..6296c7626963 100644 --- a/fs/proc/root.c +++ b/fs/proc/root.c | |||
@@ -202,10 +202,10 @@ static int proc_root_getattr(struct vfsmount *mnt, struct dentry *dentry, struct | |||
202 | 202 | ||
203 | static struct dentry *proc_root_lookup(struct inode * dir, struct dentry * dentry, unsigned int flags) | 203 | static struct dentry *proc_root_lookup(struct inode * dir, struct dentry * dentry, unsigned int flags) |
204 | { | 204 | { |
205 | if (!proc_lookup(dir, dentry, flags)) | 205 | if (!proc_pid_lookup(dir, dentry, flags)) |
206 | return NULL; | 206 | return NULL; |
207 | 207 | ||
208 | return proc_pid_lookup(dir, dentry, flags); | 208 | return proc_lookup(dir, dentry, flags); |
209 | } | 209 | } |
210 | 210 | ||
211 | static int proc_root_readdir(struct file *file, struct dir_context *ctx) | 211 | static int proc_root_readdir(struct file *file, struct dir_context *ctx) |