From: Tejun Heo Date: Tue, 2 Jan 2007 08:41:04 +0000 (+0900) Subject: [SCSI] sr: fix error code check in sr_block_ioctl() X-Git-Tag: v2.6.20-rc6~54^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6397256b0af52082db3b7f804aa3b612a17dcbc9;p=pandora-kernel.git [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 Signed-off-by: James Bottomley --- Reading git-diff-tree failed