linux-stable/drivers/block
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 82ed4db499 ("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
..
aoe block: Use pointer to backing_dev_info from request_queue 2017-02-02 08:20:48 -07:00
drbd Merge branch 'for-linus' of git://git.kernel.dk/linux-block 2017-05-20 16:12:30 -07:00
mtip32xx mtip32xx: convert internal commands to regular block infrastructure 2017-05-03 08:09:19 -06:00
paride pd: don't check blk_execute_rq return value. 2017-04-20 12:16:10 -06:00
rsxx rsxx: remove the discard_zeroes_data flag 2017-04-08 11:25:38 -06:00
xen-blkback block: xen-blkback: add null check to avoid null pointer dereference 2017-05-15 17:14:28 -04:00
zram zram: reduce load operation in page_same_filled 2017-05-03 15:52:11 -07:00
DAC960.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
DAC960.h
Kconfig libnvdimm for 4.12 2017-05-05 18:49:20 -07:00
Makefile block: remove the osdblk driver 2017-04-19 09:10:51 -06:00
amiflop.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
ataflop.c ataflop: switch from req->errors to req->error_count 2017-04-20 12:16:10 -06:00
brd.c libnvdimm for 4.12 2017-05-05 18:49:20 -07:00
cciss.c block: Introduce queue flag QUEUE_FLAG_SCSI_PASSTHROUGH 2017-06-01 13:10:40 -06:00
cciss.h SCSI misc on 20170220 2017-02-21 11:51:42 -08:00
cciss_cmd.h
cciss_scsi.c cciss: Remove kmalloc cast 2017-02-22 11:54:49 -07:00
cciss_scsi.h
cryptoloop.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
floppy.c floppy: switch from req->errors to req->error_count 2017-04-20 12:16:10 -06:00
loop.c blk-mq: update ->init_request and ->exit_request prototypes 2017-05-02 07:52:08 -06:00
loop.h loop: zero-fill bio on the submitting cpu 2017-04-20 12:16:10 -06:00
nbd.c nbd: add FUA op support 2017-05-30 08:20:25 -06:00
null_blk.c blk-mq: remove the error argument to blk_mq_complete_request 2017-04-20 12:16:10 -06:00
pktcdvd.c pktcdvd: Check queue type before attaching to a queue 2017-06-01 13:10:43 -06:00
ps3disk.c block: fold cmd_type into the REQ_OP_ space 2017-01-31 14:00:44 -07:00
ps3vram.c block: convert to device_add_disk() 2016-06-27 12:26:08 -07:00
rbd.c The two main items are support for disabling automatic rbd exclusive 2017-05-10 08:42:33 -07:00
rbd_types.h rbd: RBD_V{1,2}_DATA_FORMAT macros 2017-02-20 12:16:15 +01:00
skd_main.c skd: implement trivial scsi ioctls directly 2017-01-31 10:53:03 -07:00
skd_s1120.h skd: fix formatting in skd_s1120.h 2013-11-08 09:10:30 -07:00
smart1,2.h
sunvdc.c sunvdc: Add support for setting physical sector size 2017-02-23 08:24:08 -08:00
swim.c swim: stop sharing request queue across multiple gendisks 2017-03-28 15:06:58 -06:00
swim3.c swim3: remove (commented out) printing of req->errors 2017-04-20 12:16:10 -06:00
swim_asm.S
sx8.c block: fold cmd_type into the REQ_OP_ space 2017-01-31 14:00:44 -07:00
umem.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
umem.h
virtio_blk.c virtio: fixes, cleanups, performance 2017-05-10 11:33:08 -07:00
xen-blkfront.c blk-mq: remove the error argument to blk_mq_complete_request 2017-04-20 12:16:10 -06:00
xsysace.c block: fold cmd_type into the REQ_OP_ space 2017-01-31 14:00:44 -07:00
z2ram.c block: remove struct request buffer member 2014-04-15 14:03:02 -06:00