Brian King 7a801184fa libata: Fixup n_elem initialization
Fixup the inialization of qc->n_elem. It currently gets
initialized to 1 for commands that do not transfer any data.
Fix this by initializing n_elem to 0 and only setting to 1
in ata_scsi_qc_new when there is data to transfer. This fixes
some problems seen with SATA devices attached to ipr adapters.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-01-24 02:04:34 -05:00
..
2007-01-24 02:04:34 -05:00
2007-01-23 11:09:49 -08:00
2006-12-10 09:55:40 -08:00
2006-12-07 08:39:24 -08:00
2007-01-06 09:32:49 -06:00
2007-01-15 06:44:03 +01:00
2007-01-22 12:00:54 -08:00
2006-12-11 13:49:53 +11:00
2006-12-08 08:28:57 -08:00
2007-01-23 11:09:49 -08:00
2006-12-13 09:05:48 -08:00
2006-12-08 08:28:50 -08:00
2006-12-10 09:57:22 -08:00
2006-12-10 09:57:22 -08:00