mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-26 14:17:26 -04:00
pidns: remove find_task_by_pid, unused for a long time
It seems to me that it was a mistake marking this function as deprecated and scheduling it for removal, rather than resolutely removing it after the last caller's death. Anyway - better late, then never. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Cc: Oleg Nesterov <oleg@tv-sign.ru> Cc: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
e49859e71e
commit
dbda0de526
3 changed files with 1 additions and 25 deletions
|
@ -107,7 +107,7 @@ extern struct pid_namespace init_pid_ns;
|
|||
* find_pid_ns() finds the pid in the namespace specified
|
||||
* find_vpid() finr the pid by its virtual id, i.e. in the current namespace
|
||||
*
|
||||
* see also find_task_by_pid() set in include/linux/sched.h
|
||||
* see also find_task_by_vpid() set in include/linux/sched.h
|
||||
*/
|
||||
extern struct pid *find_pid_ns(int nr, struct pid_namespace *ns);
|
||||
extern struct pid *find_vpid(int nr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue