scsi: split __scsi_queue_insert
authorChristoph Hellwig <hch@lst.de>
Thu, 23 Jan 2014 12:55:38 +0000 (13:55 +0100)
committerChristoph Hellwig <hch@lst.de>
Fri, 25 Jul 2014 11:38:35 +0000 (07:38 -0400)
commitde3e8bf3315c9c7c7ffd2f9b2f299b4205feefb9
tree2865c04ae3b68c97841211232728ccde410f92a3
parent6af7a4ffa2775c452c77eccc6bb6a4e2b71c2371
scsi: split __scsi_queue_insert

Factor out a helper to set the _blocked values, which we'll reuse for the
blk-mq code path.

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>
drivers/scsi/scsi_lib.c