From: Eric W. Biederman Date: Mon, 2 Oct 2006 09:17:28 +0000 (-0700) Subject: [PATCH] usb: fixup usb so it uses struct pid X-Git-Tag: v2.6.19-rc1~462 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2425c08b37244005ff221efe4957d8aaff18609c;p=pandora-kernel.git [PATCH] usb: fixup usb so it uses struct pid The problem with remembering a user space process by its pid is that it is possible that the process will exit, pid wrap around will occur. Converting to a struct pid avoid that problem, and paves the way for implementing a pid namespace. Also since usb is the only user of kill_proc_info_as_uid rename kill_proc_info_as_uid to kill_pid_info_as_uid and have the new version take a struct pid. Signed-off-by: Eric W. Biederman Acked-by: Greg Kroah-Hartman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed