aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2017-05-31 14:43:49 -0700
committerJens Axboe <[email protected]>2017-06-01 13:10:44 -0600
commit73d17701db503382eeed03afb3a6c39ec4d9a5c7 (patch)
tree0387060b46a8f75a3701f8006588cb1295e0bff6 /tools/perf/scripts/python/syscall-counts.py
parentec2be6a98e50d3eb9f35f70aa51c5d2c23737c55 (diff)
cdrom: Check SCSI passthrough support before reading audio
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. References: commit 82ed4db499b8 ("block: split scsi_request out of struct request") Signed-off-by: Bart Van Assche <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Cc: Omar Sandoval <[email protected]> Cc: [email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions