Andrew de Quincey wrote:
What if you replace WRITE by READ in
drivers/scsi/scsi_ioctl.c::scsi_cmd_ioctl()::case CDROMEJECT ?
Yup, using READ there fixes it too (and I did remember to remove my other
patch before testing :)
USB storage devices still work with the CDROMEJECT ioctl and this change as
well.
I'll check if they have a safeguard which sbp2 should have too.
Thanks a lot.
--
Stefan Richter
-=====-=-=-= ==-- -=---
http://arcgraph.de/sr/
-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html