scsi: unwind blk_end_request_all and blk_end_request_err calls
authorChristoph Hellwig <hch@lst.de>
Sun, 16 Feb 2014 14:16:13 +0000 (06:16 -0800)
committerChristoph Hellwig <hch@lst.de>
Fri, 25 Jul 2014 21:16:13 +0000 (17:16 -0400)
Replace the calls to the various blk_end_request variants with opencode
equivalents.  Blk-mq is using a model that gives the driver control
between the bio updates and the actual completion, and making the old
code follow that same model allows us to keep the code more similar for
both paths.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Webb Scales <webbnh@hp.com>
Acked-by: Jens Axboe <axboe@kernel.dk>
Tested-by: Bart Van Assche <bvanassche@acm.org>
Tested-by: Robert Elliott <elliott@hp.com>

No differences found