Bart Van Assche ec2be6a98e pktcdvd: Check queue type before attaching to a queue
Since the pktcdvd driver only supports request queues for which
struct scsi_request is the first member of their private request
data, refuse to register block layer queues for which struct
scsi_request is not the first member of the private data.

References: commit 82ed4db499b8 ("block: split scsi_request out of struct request")
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Cc: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
2017-06-01 13:10:43 -06:00
..
2017-05-05 18:49:20 -07:00
2017-02-22 11:54:49 -07:00
2017-02-21 11:51:42 -08:00
2017-05-05 18:49:20 -07:00
2017-04-19 09:10:51 -06:00
2017-05-30 08:20:25 -06:00
2016-06-27 12:26:08 -07:00
2017-02-20 12:16:15 +01:00
2013-11-08 09:10:30 -07:00