From: Christoph Hellwig Date: Thu, 1 May 2014 14:51:04 +0000 (+0200) Subject: scsi: reintroduce scsi_driver.init_command X-Git-Tag: omap-for-v3.16/fixes-against-rc1~75^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1b73fc194e73ed33c8b77bf09374cb05b58151b;p=pandora-kernel.git scsi: reintroduce scsi_driver.init_command Instead of letting the ULD play games with the prep_fn move back to the model of a central prep_fn with a callback to the ULD. This already cleans up and shortens the code by itself, and will be required to properly support blk-mq in the SCSI midlayer. Signed-off-by: Christoph Hellwig Reviewed-by: Nicholas Bellinger Reviewed-by: Mike Christie Reviewed-by: Hannes Reinecke --- Reading git-diff-tree failed