diff options
Diffstat (limited to 'fs/proc/root.c')
-rw-r--r-- | fs/proc/root.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/root.c b/fs/proc/root.c index f4b1a9d2eca6..621e6ec322ca 100644 --- a/fs/proc/root.c +++ b/fs/proc/root.c | |||
@@ -154,7 +154,7 @@ static int proc_root_getattr(const struct path *path, struct kstat *stat, | |||
154 | 154 | ||
155 | static struct dentry *proc_root_lookup(struct inode * dir, struct dentry * dentry, unsigned int flags) | 155 | static struct dentry *proc_root_lookup(struct inode * dir, struct dentry * dentry, unsigned int flags) |
156 | { | 156 | { |
157 | if (!proc_pid_lookup(dir, dentry, flags)) | 157 | if (!proc_pid_lookup(dentry, flags)) |
158 | return NULL; | 158 | return NULL; |
159 | 159 | ||
160 | return proc_lookup(dir, dentry, flags); | 160 | return proc_lookup(dir, dentry, flags); |