Skip to content
Commit a8c730e8 authored by Jens Axboe's avatar Jens Axboe Committed by James Bottomley
Browse files

[SCSI] fix panic when ejecting ieee1394 ipod



The scsi_library routines don't correctly set DMA_NONE when
req->data_len is zero (instead they check the command type first, so
if it's write, we end up with req->data_len == 0 and direction as
DMA_TO_DEVICE which confuses some drivers)

Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 85631672
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment