diff options
author | 2008-02-20 16:53:29 -0800 | |
---|---|---|
committer | 2008-02-25 16:34:18 +0100 | |
commit | 13d77c37cab2bb906022309e1e7182c327e49916 (patch) | |
tree | e63f3a56dc443f3a2807b85102464d04934d06db /lib/parser.c | |
parent | latencytop: fix memory leak on latency proc file (diff) | |
download | wireguard-linux-13d77c37cab2bb906022309e1e7182c327e49916.tar.xz wireguard-linux-13d77c37cab2bb906022309e1e7182c327e49916.zip |
latencytop: change /proc task_struct access method
Change getting task_struct by get_proc_task() at read or write time,
and returns -ESRCH if get_proc_task() returns NULL.
This is same behavior as other /proc files.
Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'lib/parser.c')
0 files changed, 0 insertions, 0 deletions