From: Christoph Hellwig Date: Sat, 28 Jun 2014 10:08:05 +0000 (+0200) Subject: sd: don't use scsi_setup_blk_pc_cmnd for flush requests X-Git-Tag: omap-for-v3.17/fixes-against-rc2~143^2~100 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a118c6c1d907e52286df25ee1e8b217f25d6f73d;p=pandora-kernel.git sd: don't use scsi_setup_blk_pc_cmnd for flush requests Simplify handling of flush requests by setting up the command directly instead of initializing request fields and then calling scsi_setup_blk_pc_cmnd to propagate the information into the command. Also rename scsi_setup_flush_cmnd to sd_setup_flush_cmnd for consistency. Signed-off-by: Christoph Hellwig Reviewed-by: Martin K. Petersen Reviewed-by: Hannes Reinecke --- Reading git-diff-tree failed