virtio_blk: change to use __blk_end_request()
authorKiyoshi Ueda <k-ueda@ct.jp.nec.com>
Wed, 1 Oct 2008 14:11:20 +0000 (10:11 -0400)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 9 Oct 2008 06:56:20 +0000 (08:56 +0200)
commit8316982ac06d7d8875dc8738efbb030791dc33bb
tree418ba7251e267f0a06d2e6bd8bb9783b12580bae
parent0497b345e7d067109e0dd9bf9f4978a6847ee13b
virtio_blk: change to use __blk_end_request()

This patch converts virtio_blk to use __blk_end_request() directly
so that end_{queued|dequeued}_request() can be removed.
Related 'uptodate' argument is converted to 'error'.

Signed-off-by: Kiyoshi Ueda <k-ueda@ct.jp.nec.com>
Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/block/virtio_blk.c