commit | a8c730e85e80734412f4f73ab28496a0e8b04a7b | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@suse.de> | Fri Dec 09 14:42:16 2005 +0100 |
committer | James Bottomley <jejb@mulgrave.(none)> | Fri Dec 09 13:50:53 2005 -0500 |
tree | d8e38549f0ac0f51a7123cf37660f9c7f6cae60d | |
parent | 85631672e6a8032267058b4ccbe53f1924a5d0be [diff] |
[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: James Bottomley <James.Bottomley@SteelEye.com>