[SCSI] scsi_dh_emc: fix mode select request setup
authorHannes Reinecke <hare@suse.de>
Wed, 2 Dec 2009 20:28:48 +0000 (14:28 -0600)
committerJames Bottomley <James.Bottomley@suse.de>
Wed, 3 Mar 2010 10:30:11 +0000 (16:00 +0530)
commit6c71dcb28ff9b63b814a0b76a256f5dae08d3e0d
tree7ce5b2539300247cdc1817495856f79289719643
parent3a5b27bf6f29574d667230c7e76e4b83fe3014e0
[SCSI] scsi_dh_emc: fix mode select request setup

This patch fixes the request setup code for mode selects. I got the fixes from
Hannes Reinecke while trying to hunt down some problems and merged it
into one patch. I am sending it because Hannes is busy with other things.

The patch fixes:
- setting of the length for mode selects.
- setting of the data direction for mode select 10.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/device_handler/scsi_dh_emc.c