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 drivers set the disk > pointer in struct cdrom_device_info but neither the pcd nor > the gdrom driver sets that pointer. And I think that's exactly the point. There probably can be some further cleanup in this area, but for now this looks good: Reviewed-by: Christoph Hellwig <hch@xxxxxx>