Re: [PATCH v2 5/6] cdrom: Check SCSI passthrough support before reading audio

2017-06-01 Thread Christoph Hellwig
On Wed, May 31, 2017 at 02:43:49PM -0700, Bart Van Assche wrote: > The CDROMREADAUDIO ioctl uses SCSI passthrough when the .disk > pointer has been set in struct cdrom_device_info. Hence check > whether SCSI passthrough is supported before submitting a SCSI > command. Note: both the ide-cd and sr

Re: [PATCH v2 5/6] cdrom: Check SCSI passthrough support before reading audio

2017-05-31 Thread Hannes Reinecke
On 05/31/2017 11:43 PM, Bart Van Assche wrote: > The CDROMREADAUDIO ioctl uses SCSI passthrough when the .disk > pointer has been set in struct cdrom_device_info. Hence check > whether SCSI passthrough is supported before submitting a SCSI > command. Note: both the ide-cd and sr drivers set the

[PATCH v2 5/6] cdrom: Check SCSI passthrough support before reading audio

2017-05-31 Thread Bart Van Assche
The CDROMREADAUDIO ioctl uses SCSI passthrough when the .disk pointer has been set in struct cdrom_device_info. Hence check whether SCSI passthrough is supported before submitting a SCSI command. Note: both the ide-cd and sr drivers set the disk pointer in struct cdrom_device_info but neither the