commit | 7fbaac005cab2f3b4d6999cdb32fb93d442c5cdb | [log] [tgz] |
---|---|---|
author | Eric W. Biederman <ebiederm@xmission.com> | Mon Oct 02 02:18:51 2006 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Mon Oct 02 07:57:24 2006 -0700 |
tree | 5e97a4a30d7659ff688500e997387c38d042faa4 | |
parent | 72d9dcfc7afd80fe98334ec23531b638ee54df8b [diff] [blame] |
[PATCH] proc: Use pid_task instead of open coding it Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
diff --git a/fs/proc/base.c b/fs/proc/base.c index 38a8046..04e29f9 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c
@@ -958,7 +958,7 @@ /* * 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;