scsi: set ->scsi_done before calling scsi_dispatch_cmd
authorChristoph Hellwig <hch@lst.de>
Tue, 6 May 2014 10:25:40 +0000 (12:25 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 25 Jul 2014 11:38:48 +0000 (07:38 -0400)
The blk-mq code path will set this to a different function, so make the
code simpler by setting it up in a legacy-request specific place.

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