Christoph Hellwig 1a827ce1b9 block: remove GENHD_FL_CD
GENHD_FL_CD marks a gendisk as a vaguely CD-ROM like device.
Besides being used internally inside of sunvdc.c an xen-blkfront it
is used by xen-blkback as a hint to claim a device exported to a
guest is a CD-ROM like device.  Just check for disk->cdi instead
which is the right indicator for "real" CD-ROM or DVD drivers.  This
will miss the paravirtualized guest drivers, but those make little
sense to report anyway.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20211122130625.1136848-4-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2021-11-29 06:35:21 -07:00
..
2021-10-16 21:45:54 -04:00
2020-03-11 23:07:59 -04:00
2021-11-05 08:42:02 -07:00
2021-11-05 08:42:02 -07:00
2021-11-05 08:42:02 -07:00
2021-11-05 08:42:02 -07:00
2021-11-05 08:42:02 -07:00
2021-11-05 08:42:02 -07:00
2021-11-05 08:42:02 -07:00
2021-01-22 21:14:08 -05:00
2021-01-22 21:14:07 -05:00
2021-01-22 21:14:08 -05:00
2020-03-11 23:07:59 -04:00
2021-11-05 08:42:02 -07:00
2021-10-16 21:45:55 -04:00
2020-09-02 22:49:06 -04:00
2021-10-16 21:45:56 -04:00
2021-04-13 00:20:48 -04:00
2020-12-07 20:24:09 -05:00
2021-10-16 21:29:15 -04:00
2021-10-16 21:45:57 -04:00
2021-10-16 21:45:57 -04:00
2020-12-07 20:24:09 -05:00
2021-05-21 16:59:33 -04:00
2021-10-29 06:50:52 -06:00
2021-03-24 23:03:43 -04:00
2021-11-12 12:25:50 -08:00
2021-11-12 12:25:50 -08:00
2021-11-05 08:42:02 -07:00
2021-11-05 08:42:02 -07:00
2021-11-05 08:42:02 -07:00
2021-10-29 06:50:52 -06:00
2021-11-29 06:35:21 -07:00
2020-02-24 15:01:57 -05:00
2021-10-29 06:50:52 -06:00
2021-08-23 12:54:30 -06:00
2021-11-05 08:42:02 -07:00
2021-04-13 00:20:48 -04:00