]> git.neil.brown.name Git - history.git/commit
[PATCH] scsi: handle zero-length requests
authorAndrew Morton <akpm@osdl.org>
Wed, 22 Oct 2003 01:19:08 +0000 (18:19 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Wed, 22 Oct 2003 01:19:08 +0000 (18:19 -0700)
commitdefa39620ba007ab425d913389202973ccd37f99
tree427670c5854daead02ccf630dedf8d8d0ba5bc6d
parentfd031e89b374e8eb9c2cd45a98ab2561b727a163
[PATCH] scsi: handle zero-length requests

From: Jens Axboe <axboe@suse.de>

The command 'eject /dev/scd0' sends a START_STOP command to the device with
the data direction set to SCSI_DATA_WRITE but a transfer length of zero.
This causes a problem for some code paths.
drivers/scsi/sr.c