diff options
Diffstat (limited to 'fs/proc/base.c')
-rw-r--r-- | fs/proc/base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/base.c b/fs/proc/base.c index 38a8046948f3..04e29f929a11 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c | |||
@@ -958,7 +958,7 @@ static struct inode *proc_pid_make_inode(struct super_block * sb, struct task_st | |||
958 | /* | 958 | /* |
959 | * grab the reference to task. | 959 | * grab the reference to task. |
960 | */ | 960 | */ |
961 | ei->pid = get_pid(task->pids[PIDTYPE_PID].pid); | 961 | ei->pid = get_pid(task_pid(task)); |
962 | if (!ei->pid) | 962 | if (!ei->pid) |
963 | goto out_unlock; | 963 | goto out_unlock; |
964 | 964 | ||