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
..
2006-12-13 09:05:58 -08:00
2007-01-23 07:52:07 -08:00
2007-01-24 02:04:34 -05:00
2007-01-23 11:09:49 -08:00
2006-12-22 08:55:47 -08:00
2007-01-05 23:55:22 -08:00
2007-01-09 00:29:59 -08:00
2007-01-03 17:32:54 -08:00
2007-01-23 11:19:32 -08:00
2006-12-10 09:57:22 -08:00
2007-01-05 23:55:29 -08:00
2006-12-22 22:45:41 -05:00
2006-12-10 09:55:40 -08:00
2006-12-07 08:39:24 -08:00
2006-12-07 08:39:27 -08:00
2006-12-13 09:05:58 -08:00
2007-01-21 22:17:57 +01:00
2007-01-18 22:14:24 +01:00
2007-01-05 17:54:05 +01:00
2007-01-05 23:55:22 -08:00
2007-01-10 20:24:42 +01:00
2007-01-22 17:03:55 -08:00
2006-12-31 14:06:05 -08:00
2006-12-22 14:31:24 -08:00
2007-01-23 07:52:06 -08:00
2007-01-05 23:55:21 -08:00
2007-01-05 23:55:21 -08:00
2007-01-11 18:18:21 -08:00
2007-01-23 22:00:21 -02:00
2007-01-06 09:32:49 -06:00
2006-12-07 08:39:27 -08:00
2006-12-20 02:52:17 -05:00
2007-01-15 06:44:03 +01:00
2007-01-18 10:34:51 +11:00
2007-01-23 14:18:49 -08:00
2006-12-08 08:28:48 -08:00
2006-12-13 09:05:58 -08:00
2006-12-10 09:55:39 -08:00
2007-01-22 12:00:54 -08:00
2006-12-13 09:05:52 -08:00
2006-12-13 09:05:58 -08:00
2006-12-11 13:49:53 +11:00
2007-01-23 07:52:06 -08:00
2007-01-09 09:36:06 -08:00
2006-12-13 09:05:58 -08:00
2007-01-22 10:35:34 -08:00
2007-01-11 01:52:44 +01:00
2006-12-30 10:56:43 -08:00
2006-12-08 08:28:57 -08:00
2006-12-08 08:28:46 -08:00
2007-01-23 11:09:49 -08:00
2007-01-02 00:06:18 -05: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