From: Christoph Hellwig Date: Sat, 28 Jun 2014 09:58:42 +0000 (+0200) Subject: scsi: restructure command initialization for TYPE_FS requests X-Git-Tag: omap-for-v3.17/fixes-against-rc2~143^2~102 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3868cf8ea70a57fc3f927872d8296f287ce4b96a;p=pandora-kernel.git scsi: restructure command initialization for TYPE_FS requests We should call the device handler prep_fn for all TYPE_FS requests, not just simple read/write calls that are handled by the disk driver. Restructure the common I/O code to call the prep_fn handler and zero out the CDB, and just leave the call to scsi_init_io to the ULDs. Signed-off-by: Christoph Hellwig Reviewed-by: Martin K. Petersen Reviewed-by: Hannes Reinecke --- Reading git-diff-tree failed