diff options
| author | Pavel Emelyanov <[email protected]> | 2008-04-30 00:54:23 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-04-30 08:29:48 -0700 |
| commit | cb41d6d068716b2b3666925da34d3d7e658bf4f3 (patch) | |
| tree | 75926ace2cf9793a6b3809da2d6fb5813b1c9068 /include/linux/errqueue.h | |
| parent | b7127aa4547d8cc8a5b569631e2b6ef613af1bb7 (diff) | |
Use find_task_by_vpid in taskstats
The pid to lookup a task by is passed inside taskstats code via genetlink
message.
Since netlink packets are now processed in the context of the sending task,
this is correct to lookup the task with find_task_by_vpid() here.
Besides, I fix the call to fill_pid() from taskstats_exit(), since the
tsk->pid is not required in fill_pid() in this case, and the pid field on
task_struct is going to be deprecated as well.
Signed-off-by: Pavel Emelyanov <[email protected]>
Cc: "Eric W. Biederman" <[email protected]>
Cc: Balbir Singh <[email protected]>
Cc: Jay Lan <[email protected]>
Cc: Jonathan Lim <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions