ub: use __blk_end_request_all()
authorTejun Heo <tj@kernel.org>
Tue, 19 May 2009 09:33:04 +0000 (18:33 +0900)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 19 May 2009 09:36:08 +0000 (11:36 +0200)
commit3755100dd5f66761aaaa7ae44c70b319a7c78a56
treecd7206012aa4af29666b1f84191f690c2bd2e939
parentf831cc03490c78a76e2d35ad77ec2292d0323728
ub: use __blk_end_request_all()

ub_end_rq() always tries to complete full request.  The @cmd_len
parameter was there because rq->data_len used to be overwritten with
residue count.  Drop @cmd_len and use __blk_end_request_all().

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Pete Zaitcev <zaitcev@redhat.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/block/ub.c