sd: don't use scsi_setup_blk_pc_cmnd for write same requests
authorChristoph Hellwig <hch@lst.de>
Sat, 28 Jun 2014 10:22:22 +0000 (12:22 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 17 Jul 2014 20:12:47 +0000 (22:12 +0200)
commit59b1134c5a2aab2c70725af83d2e2d1c71c509ca
treeda9f4546991926e00f7215cfe058c1e3e7aeeabd
parenta118c6c1d907e52286df25ee1e8b217f25d6f73d
sd: don't use scsi_setup_blk_pc_cmnd for write same requests

Simplify handling of write same 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.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Webb Scales <webbnh@hp.com>
drivers/scsi/sd.c
This page took 0.024126 seconds and 5 git commands to generate.