commit | a118c6c1d907e52286df25ee1e8b217f25d6f73d | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Sat Jun 28 12:08:05 2014 +0200 |
committer | Christoph Hellwig <hch@lst.de> | Thu Jul 17 22:12:33 2014 +0200 |
tree | 73216026ecf12ec9b6decd32deacb06c1979030d | |
parent | 5158a899d8f24f74cad29b6aaad2b0f86499e5d5 [diff] |
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 <hch@lst.de> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Reviewed-by: Hannes Reinecke <hare@suse.de>