diff options
author | Christoph Hellwig <hch@lst.de> | 2021-11-22 14:06:14 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-11-29 14:35:21 +0100 |
commit | 1a827ce1b9f2c740d2c6a228afd972970c18bc21 (patch) | |
tree | 9d3b582342492a6a23bcd2ef39f9d3a46279b81b /.clang-format | |
parent | block: move GENHD_FL_BLOCK_EVENTS_ON_EXCL_WRITE to disk->event_flags (diff) | |
download | linux-1a827ce1b9f2c740d2c6a228afd972970c18bc21.tar.xz linux-1a827ce1b9f2c740d2c6a228afd972970c18bc21.zip |
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>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions