From: Christoph Hellwig Date: Sat, 28 Jun 2014 14:41:43 +0000 (+0200) Subject: scsi: set sc_data_direction in common code X-Git-Tag: omap-for-v3.17/fixes-against-rc2~143^2~101 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5158a899d8f24f74cad29b6aaad2b0f86499e5d5;p=pandora-kernel.git scsi: set sc_data_direction in common code The data direction fiel in the SCSI command is derived only from the block request structure. Move setting it up into common code instead of duplicating it in the ULDs. Signed-off-by: Christoph Hellwig Reviewed-by: Martin K. Petersen Reviewed-by: Hannes Reinecke --- Reading git-diff-tree failed