scsi: split __scsi_queue_insert
authorChristoph Hellwig <hch@lst.de>
Wed, 25 Jun 2014 23:20:08 +0000 (17:20 -0600)
committerJens Axboe <axboe@fb.com>
Thu, 2 Apr 2015 18:12:27 +0000 (12:12 -0600)
commit424a82e8b8363c455b1cd36bd281b28d649a360b
treee757825c15955450dcccea7bed27b138f49bb75b
parentf36a476517868e9a55e5a4393fc95b031505d7d4
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>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/scsi/scsi_lib.c