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:03:45 -05:00
2007-01-05 23:55:28 -08:00
2007-01-02 08:20:51 -08:00
2006-12-01 22:42:51 -05:00
2006-12-04 15:45:51 -05:00
2006-12-03 07:57:21 -05:00
2007-01-19 19:18:49 -05:00