|
@@ -199,10 +199,10 @@ static int proc_root_getattr(struct vfsmount *mnt, struct dentry *dentry, struct
|
|
|
|
|
|
static struct dentry *proc_root_lookup(struct inode * dir, struct dentry * dentry, unsigned int flags)
|
|
static struct dentry *proc_root_lookup(struct inode * dir, struct dentry * dentry, unsigned int flags)
|
|
{
|
|
{
|
|
- if (!proc_lookup(dir, dentry, flags))
|
|
|
|
|
|
+ if (!proc_pid_lookup(dir, dentry, flags))
|
|
return NULL;
|
|
return NULL;
|
|
|
|
|
|
- return proc_pid_lookup(dir, dentry, flags);
|
|
|
|
|
|
+ return proc_lookup(dir, dentry, flags);
|
|
}
|
|
}
|
|
|
|
|
|
static int proc_root_readdir(struct file *file, struct dir_context *ctx)
|
|
static int proc_root_readdir(struct file *file, struct dir_context *ctx)
|