• Andrew Morton's avatar
    [PATCH] scsi: handle zero-length requests · defa3962
    Andrew Morton authored
    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.
    defa3962
sr.c 22.4 KB