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
2006-12-03 17:56:22 +09:00
2006-12-16 10:12:29 -05:00
2007-01-05 23:55:28 -08:00
2006-12-16 10:13:22 -05:00
2007-01-19 19:22:45 -05:00
2007-01-24 02:04:34 -05:00
2007-01-02 08:20:51 -08:00
2006-12-05 17:01:28 +00:00
2006-12-01 22:42:51 -05:00
2006-12-04 15:45:51 -05:00
2006-12-03 17:56:22 +09:00
2006-12-03 17:56:22 +09:00
2006-12-03 17:56:22 +09:00
2006-12-03 17:56:22 +09:00
2006-12-03 17:56:22 +09:00
2006-12-20 13:03:11 -05:00
2006-12-03 07:57:21 -05:00
2006-12-03 17:56:22 +09:00
2006-12-03 17:56:22 +09:00
2006-12-03 17:56:22 +09:00
2006-12-03 17:56:22 +09:00
2007-01-05 23:55:29 -08:00
2006-12-03 17:56:22 +09:00
2006-12-03 17:56:22 +09:00
2006-12-03 17:56:22 +09:00
2006-12-03 17:56:22 +09:00
2006-12-03 17:56:22 +09:00
2006-12-16 10:45:28 -05:00
2006-12-03 17:56:22 +09:00
2006-12-03 17:56:22 +09:00
2006-12-03 17:56:22 +09:00
2006-12-03 17:56:22 +09:00
2006-12-03 17:56:22 +09:00
2006-12-03 17:56:22 +09:00
2006-12-03 17:56:22 +09:00
2006-12-04 20:12:02 -05:00
2006-12-03 17:56:22 +09:00
2006-12-03 17:56:22 +09:00
2006-12-03 17:56:22 +09:00
2006-12-16 10:45:28 -05:00
2006-12-03 17:56:22 +09:00
2006-12-16 10:45:28 -05:00
2006-12-03 17:56:22 +09:00
2006-12-03 17:56:22 +09:00
2006-12-03 17:56:22 +09:00
2006-12-03 17:56:22 +09:00
2006-12-03 17:56:22 +09:00
2006-12-03 17:56:22 +09:00
2006-12-20 13:09:10 -05:00
2006-12-16 10:45:28 -05:00
2006-12-13 09:05:52 -08:00
2007-01-19 19:24:36 -05:00
2007-01-24 02:01:49 -05:00
2006-12-07 07:25:01 -05:00
2006-12-01 22:40:29 -05:00
2006-12-03 17:56:24 +09:00
2006-12-01 22:42:51 -05:00
2006-12-20 14:37:04 -05:00
2007-01-19 19:18:49 -05:00
2006-12-20 14:37:04 -05:00