Messages in this thread Patch in this message | | | From | (Eric W. Biederman) | Subject | [PATCH 5/5] proc: Use pid_task instead of open coding it | Date | Wed, 06 Sep 2006 10:31:12 -0600 |
| |
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> --- 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 5500ff6..5da5f5f 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c @@ -958,7 +958,7 @@ static struct inode *proc_pid_make_inode /* * grab the reference to task. */ - ei->pid = get_pid(task->pids[PIDTYPE_PID].pid); + ei->pid = get_pid(task_pid(task)); if (!ei->pid) goto out_unlock; -- 1.4.2.rc3.g7e18e-dirty - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |