kthread: Don't looking for a task in create_kthread() #2
authorVitaliy Gusev <vgusev@openvz.org>
Thu, 9 Apr 2009 15:50:35 +0000 (09:50 -0600)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 9 Apr 2009 00:20:36 +0000 (09:50 +0930)
Remove the unnecessary find_task_by_pid_ns(). kthread() can just
use "current" to get the same result.

Signed-off-by: Vitaliy Gusev <vgusev@openvz.org>
Acked-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

No differences found