lkml.org 
[lkml]   [2020]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 1/7] block: add a cdrom_device_info pointer to struct gendisk
From
Date
On 4/25/20 9:57 AM, Christoph Hellwig wrote:
> 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>
> ---
> drivers/block/paride/pcd.c | 2 +-
> drivers/cdrom/cdrom.c | 5 ++++-
> drivers/cdrom/gdrom.c | 2 +-
> drivers/ide/ide-cd.c | 3 +--
> drivers/scsi/sr.c | 3 +--
> include/linux/cdrom.h | 2 +-
> include/linux/genhd.h | 9 +++++++++
> 7 files changed, 18 insertions(+), 8 deletions(-)
>
Reviewed-by: Hannes Reinecke <hare@suse.de

Cheers,

Hannes
--
Dr. Hannes Reinecke Teamlead Storage & Networking
hare@suse.de +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer

\
 
 \ /
  Last update: 2020-04-27 08:17    [W:0.153 / U:0.596 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site