git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
patch-2.6.6-vs1.9.0
[linux-2.6.git]
/
kernel
/
pid.c
diff --git
a/kernel/pid.c
b/kernel/pid.c
index
6ed44f5
..
a8b7eb3
100644
(file)
--- a/
kernel/pid.c
+++ b/
kernel/pid.c
@@
-224,7
+224,8
@@
void fastcall detach_pid(task_t *task, enum pid_type type)
task_t *find_task_by_pid(int nr)
{
- struct pid *pid = find_pid(PIDTYPE_PID, nr);
+ struct pid *pid = find_pid(PIDTYPE_PID,
+ vx_rmap_tgid(current->vx_info, nr));
if (!pid)
return NULL;