commit | a711d91cd97e6c9a554ccd1652527a7f36661857 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Sat Apr 25 09:57:00 2020 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Mon May 04 10:13:42 2020 -0600 |
tree | f2cde770a237e0bc8415b86a709cfa070a0d7a21 | |
parent | 21f3cfeab304fc07b90d93d98d4d2f62110fe6b2 [diff] |
block: add a cdrom_device_info pointer to struct gendisk Add a pointer to the CDROM information structure to struct gendisk. This will allow various removable media file systems to call directly into the CDROM layer instead of abusing ioctls with kernel pointers. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>