projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72d9dcf
)
[PATCH] proc: Use pid_task instead of open coding it
author
Eric W. Biederman
<ebiederm@xmission.com>
Mon, 2 Oct 2006 09:18:51 +0000
(
02:18
-0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Mon, 2 Oct 2006 14:57:24 +0000
(07:57 -0700)
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>
fs/proc/base.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/proc/base.c
b/fs/proc/base.c
index 38a8046948f322b2f713a7fa7b1cc43aebee9233..04e29f929a118f917ef26e25934a3917f8e43edb 100644
(file)
--- 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
/*
* 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;