Files
android_kernel_xiaomi_sm8450/include/linux
Christoph Hellwig 17f98dcf60 pids: clean up find_task_by_pid variants
find_task_by_pid_type_ns is only used to implement find_task_by_vpid and
find_task_by_pid_ns, but both of them pass PIDTYPE_PID as first argument.
So just fold find_task_by_pid_type_ns into find_task_by_pid_ns and use
find_task_by_pid_ns to implement find_task_by_vpid.

While we're at it also remove the exports for find_task_by_pid_ns and
find_task_by_vpid - we don't have any modular callers left as the only
modular caller of he old pre pid namespace find_task_by_pid (gfs2) was
switched to pid_task which operates on a struct pid pointer instead of a
pid_t.  Given the confusion about pid_t values vs namespace that's
generally the better option anyway and I think we're better of restricting
modules to do it that way.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: Pavel Emelyanov <xemul@openvz.org>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-06-18 13:03:55 -07:00
..
2009-06-18 13:03:44 -07:00
2009-06-17 19:41:52 +02:00
2009-06-02 13:53:35 +03:00
2009-06-11 21:36:00 -04:00
2009-06-17 00:36:36 -04:00
2009-06-01 06:21:13 +00:00
2009-05-02 15:36:10 -07:00
2009-06-15 16:47:21 +10:00
2009-04-23 10:06:35 +01:00
2009-06-11 21:36:09 -04:00
2009-05-29 08:40:01 -07:00
2009-06-11 08:50:57 -07:00
2009-06-11 21:36:06 -04:00
2009-06-15 21:30:25 -07:00
2009-06-17 09:33:49 -07:00
2009-06-15 21:30:25 -07:00
2009-06-16 19:50:13 -07:00
2009-06-16 19:50:13 -07:00
2009-06-03 14:05:10 -04:00
2009-05-19 16:02:02 -07:00
2009-05-22 09:43:41 +10:00
2009-06-02 00:45:24 -07:00
2009-06-16 19:47:28 -07:00
2009-06-16 19:47:57 -07:00
2009-04-21 13:41:48 -07:00
2009-04-21 13:41:48 -07:00
2009-06-15 15:49:23 +02:00
2009-06-11 17:03:28 +01:00
2009-06-10 11:48:39 +03:00
2009-06-16 19:47:57 -07:00
2009-04-28 07:37:28 +02:00
2009-04-14 09:00:19 +10:00
2009-06-16 19:47:48 -07:00
2009-06-16 08:40:20 +02:00
2009-04-29 17:32:35 -07:00
2009-06-11 19:05:32 +02:00
2009-05-25 00:55:45 -07:00
2009-06-16 19:50:13 -07:00
2009-06-11 21:36:02 -04:00
2009-06-11 21:36:01 -04:00
2009-06-15 21:44:43 -07:00
2009-06-15 21:44:44 -07:00
2009-04-24 08:54:21 +02:00
2009-06-11 21:36:12 -04:00
2009-05-09 10:49:41 -04:00
2009-04-08 14:33:38 -07:00
2009-06-11 08:50:58 -07:00
2009-04-13 15:04:29 -07:00
2009-06-15 15:50:49 +02:00
2009-04-21 19:40:00 -07:00
2009-06-16 19:47:48 -07:00
2009-04-27 02:45:02 -07:00
2009-05-12 11:11:48 +02:00
2009-06-18 13:03:47 -07:00
2009-06-11 08:50:59 -07:00
2009-06-11 08:51:01 -07:00