nbd: use task_pid_nr() to get current pid
authorWANG Cong <amwang@redhat.com>
Fri, 19 Aug 2011 12:48:17 +0000 (14:48 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Fri, 19 Aug 2011 12:48:17 +0000 (14:48 +0200)
commit25ac0c2b971235d3e8c7af0b6889a1eb6988b559
treebaec27728cfb9d2a544d552f80a08c810758c600
parentf963d270cb7bbb8eeb57901d02b22a493e664fd2
nbd: use task_pid_nr() to get current pid

Signed-off-by: WANG Cong <amwang@redhat.com>
Cc: Paul Clements <Paul.Clements@steeleye.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
drivers/block/nbd.c