Christoph Hellwig 635d98b1d0 scsi: move the nr_phys_segments assert into scsi_init_io
scsi_init_io should only be called for requests that transfer data,
so move the assert that a request has segments from the callers into
scsi_init_io.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
2014-07-17 22:10:53 +02:00
..
2014-07-10 21:04:25 +02:00
2014-07-17 22:07:37 +02:00
2014-06-23 16:47:44 -07:00
2014-07-09 16:45:36 -07:00
2014-06-26 13:34:15 +01:00
2014-06-25 12:19:01 -07:00
2014-07-12 14:13:10 -07:00
2014-06-17 15:43:48 -07:00
2014-06-11 14:06:55 -07:00
2014-07-17 22:07:37 +02:00
2014-06-06 11:44:09 -07:00
2014-07-17 22:07:37 +02:00
2014-07-17 22:07:37 +02:00
2014-06-26 10:48:23 +01:00
2014-07-11 17:43:13 -07:00
2014-07-17 22:07:37 +02:00
2014-06-23 09:22:48 +03:00
2014-07-01 13:18:38 +03:00
2014-07-17 08:02:35 -10:00