From: Christoph Hellwig Date: Sat, 28 Jun 2014 09:51:01 +0000 (+0200) Subject: scsi: move the nr_phys_segments assert into scsi_init_io X-Git-Tag: omap-for-v3.17/fixes-against-rc2~143^2~103 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=635d98b1d0cfc2ba3426a701725d31a6102c059a;p=pandora-kernel.git 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 Reviewed-by: Martin K. Petersen Reviewed-by: Hannes Reinecke --- Reading git-diff-tree failed