block: change elevator to use __blk_end_request()
authorKiyoshi Ueda <k-ueda@ct.jp.nec.com>
Wed, 1 Oct 2008 14:13:44 +0000 (10:13 -0400)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 9 Oct 2008 06:56:21 +0000 (08:56 +0200)
commit99cd3386f290eaf61f2b7596d5a4cc2007771174
tree90f93246c060a33b90d0ef3d98f327768f167909
parent7afb3a6e752503d5ebeb038336aa0fa886a51b44
block: change elevator to use __blk_end_request()

This patch converts elevator to use __blk_end_request() directly
so that end_{queued|dequeued}_request() can be removed.
Related 'uptodate' arguments 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>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/elevator.c