From: Jens Axboe Date: Fri, 9 Dec 2005 13:42:16 +0000 (+0100) Subject: [SCSI] fix panic when ejecting ieee1394 ipod X-Git-Tag: v2.6.15-rc6~62^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8c730e85e80734412f4f73ab28496a0e8b04a7b;p=pandora-kernel.git [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 --- Reading git-diff-tree failed