frv: use find_task_by_vpid in cxn_pin_by_pid
authorPavel Emelyanov <xemul@openvz.org>
Tue, 5 Feb 2008 06:29:56 +0000 (22:29 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 5 Feb 2008 17:44:20 +0000 (09:44 -0800)
commit540e3102f75dca9c5e614905527599de18294cc8
treee5a257f784e99bc50e9bca426f86185a8a87b447
parent8c5900b2d669c7aac1e5b3e8bb8e331a0e6cff61
frv: use find_task_by_vpid in cxn_pin_by_pid

The function is question gets the pid from sysctl table, so this one is a
virtual pid, i.e.  the pid of a task as it is seen from inside a namespace.

So the find_task_by_vpid() must be used here.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/frv/mm/mmu-context.c