]> git.baikalelectronics.ru Git - kernel.git/commit
Use task_pid_nr() instead of pid_nr(task_pid())
authorPavel Emelyanov <xemul@openvz.org>
Fri, 19 Oct 2007 06:40:44 +0000 (23:40 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 19 Oct 2007 18:53:43 +0000 (11:53 -0700)
commit5b279bd1beaecb67370557ac42fe14049233e72c
tree37197177f0d2a8c7b147a33acdca59e5bf8f96b6
parent584c5fde7221258d4920336a2ba9456089c83620
Use task_pid_nr() instead of pid_nr(task_pid())

There are two places that do so - the cgroups subsystem and the autofs
code.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Cc: Ian Kent <raven@themaw.net>
Cc: Paul Menage <menage@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/autofs/root.c
kernel/cgroup.c