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)
commit69cccb887a35f3761b7ea62cdd2bee602868c735
tree37197177f0d2a8c7b147a33acdca59e5bf8f96b6
parent6651fd561bc6fbc688542e9a5bf070c6485eebe8
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