commit | 5158a899d8f24f74cad29b6aaad2b0f86499e5d5 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Sat Jun 28 16:41:43 2014 +0200 |
committer | Christoph Hellwig <hch@lst.de> | Thu Jul 17 22:11:41 2014 +0200 |
tree | f5faad5530e2e0e38dcd0bc75777da075976fe29 | |
parent | 3868cf8ea70a57fc3f927872d8296f287ce4b96a [diff] |
scsi: set sc_data_direction in common code The data direction fiel in the SCSI command is derived only from the block request structure. Move setting it up into common code instead of duplicating it in the ULDs. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Reviewed-by: Hannes Reinecke <hare@suse.de>