summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/3w-xxxx.h
diff options
context:
space:
mode:
authorTejun Heo2007-01-02 09:41:04 +0100
committerJames Bottomley2007-01-06 16:05:50 +0100
commit6397256b0af52082db3b7f804aa3b612a17dcbc9 (patch)
tree8c9e8db801ca14f64575f31d791aaae67b0db50a /drivers/scsi/3w-xxxx.h
parent[SCSI] scsi: lpfc error path fix (diff)
downloadkernel-qcow2-linux-6397256b0af52082db3b7f804aa3b612a17dcbc9.tar.gz
kernel-qcow2-linux-6397256b0af52082db3b7f804aa3b612a17dcbc9.tar.xz
kernel-qcow2-linux-6397256b0af52082db3b7f804aa3b612a17dcbc9.zip
[SCSI] sr: fix error code check in sr_block_ioctl()
sr_block_ioctl() should proceed to SCSI ioctls if cdrom_ioctl() returns -ENOSYS. However it tested for ENOSYS instead of -ENOSYS rendering all SCSI ioctls other than GET_IDLUN and GET_BUS_NUMBER inaccessible. Fix it. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/3w-xxxx.h')
0 files changed, 0 insertions, 0 deletions