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 5dbadecb234d..574bafc41f0b 100644 --- a/fs/proc/root.c +++ b/fs/proc/root.c | |||
@@ -199,10 +199,10 @@ static int proc_root_getattr(struct vfsmount *mnt, struct dentry *dentry, struct | |||
199 | 199 | ||
200 | static struct dentry *proc_root_lookup(struct inode * dir, struct dentry * dentry, unsigned int flags) | 200 | static struct dentry *proc_root_lookup(struct inode * dir, struct dentry * dentry, unsigned int flags) |
201 | { | 201 | { |
202 | if (!proc_lookup(dir, dentry, flags)) | 202 | if (!proc_pid_lookup(dir, dentry, flags)) |
203 | return NULL; | 203 | return NULL; |
204 | 204 | ||
205 | return proc_pid_lookup(dir, dentry, flags); | 205 | return proc_lookup(dir, dentry, flags); |
206 | } | 206 | } |
207 | 207 | ||
208 | static int proc_root_readdir(struct file *file, struct dir_context *ctx) | 208 | static int proc_root_readdir(struct file *file, struct dir_context *ctx) |