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: 195b1956b85b ("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
..
2021-06-30 12:21:16 -07:00
2021-06-30 12:21:16 -07:00
2021-07-01 14:54:03 -07:00
2021-06-30 12:21:16 -07:00
2021-06-30 12:21:16 -07:00
2021-06-29 10:53:50 -07:00
2021-03-24 06:57:40 -06:00
2021-06-01 07:42:24 -06:00
2021-06-30 15:34:19 -06:00
2021-06-11 11:53:02 -06:00
2021-06-11 11:53:02 -06:00
2021-06-11 11:53:03 -06:00
2021-06-30 12:21:16 -07:00
2021-06-30 12:21:16 -07:00