]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Use task_pid_nr() in ip_vs_sync.c
authorPavel Emelyanov <xemul@openvz.org>
Fri, 19 Oct 2007 06:40:43 +0000 (23:40 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 19 Oct 2007 18:53:43 +0000 (11:53 -0700)
commit6651fd561bc6fbc688542e9a5bf070c6485eebe8
tree413e8f3f0411b88b66b0f60eea9e7c9331b943e9
parent457c25107b83bc6456b3a18a25511418dc25da69
Use task_pid_nr() in ip_vs_sync.c

The sync_master_pid and sync_backup_pid are set in set_sync_pid() and are
used later for set/not-set checks and in printk.  So it is safe to use the
global pid value in this case.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Acked-by: Sukadev Bhattiprolu <sukadev@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
net/ipv4/ipvs/ip_vs_sync.c