linux/drivers/block
Ilya Dryomov 0077a50082 rbd: resurrect setting of disk->private_data in rbd_init_disk()
rbd_open() and rbd_release() expect that disk->private_data is set to
rbd_dev.  Otherwise we hit a NULL pointer dereference when mapping the
image.

URL: https://tracker.ceph.com/issues/51759
Fixes: 195b1956b8 ("rbd: use blk_mq_alloc_disk and blk_cleanup_disk")
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
2021-07-21 17:20:43 +02:00
..
aoe
drbd
mtip32xx
null_blk
paride pd: fix order of cleaning up the queue and freeing the tagset 2021-07-15 09:29:22 -06:00
rnbd
rsxx
xen-blkback
zram
Kconfig
Makefile
amiflop.c
ataflop.c
brd.c
cryptoloop.c
floppy.c
loop.c
loop.h
n64cart.c
nbd.c nbd: fix order of cleaning up the queue and freeing the tagset 2021-07-15 09:30:15 -06:00
pktcdvd.c
ps3disk.c
ps3vram.c
rbd.c rbd: resurrect setting of disk->private_data in rbd_init_disk() 2021-07-21 17:20:43 +02:00
rbd_types.h
sunvdc.c
swim.c
swim3.c
swim_asm.S
sx8.c
virtio_blk.c
xen-blkfront.c xen-blkfront: sanitize the removal state machine 2021-07-15 09:32:34 -06:00
z2ram.c