block: remove QUEUE_FLAG_SCSI_PASSTHROUGH
authorChristoph Hellwig <hch@lst.de>
Thu, 21 Oct 2021 06:06:07 +0000 (08:06 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 22 Oct 2021 14:33:57 +0000 (08:33 -0600)
commit4845012eb5b4e56cadb5f484cb55dd4fd9d1df80
tree68c123d53f414d86ce569ea7d84273d47da96362
parent4abafdc4360d993104c2b2f85943938a0c6ad025
block: remove QUEUE_FLAG_SCSI_PASSTHROUGH

Export scsi_device_from_queue for use with pktcdvd and use that instead
of the otherwise unused QUEUE_FLAG_SCSI_PASSTHROUGH queue flag.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Link: https://lore.kernel.org/r/20211021060607.264371-8-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq-debugfs.c
drivers/block/pktcdvd.c
drivers/scsi/scsi_lib.c
drivers/scsi/scsi_scan.c
include/linux/blkdev.h