[SCSI] fix 3ware raid emulated commands
authorJames Bottomley <James.Bottomley@steeleye.com>
Tue, 28 Jun 2005 14:18:21 +0000 (09:18 -0500)
committerJames Bottomley <jejb@titanic.(none)>
Sun, 28 Aug 2005 16:34:11 +0000 (11:34 -0500)
commitc9d297c543f379a27a34082070ed03a8ef846fc2
tree4dcc96b31a31a6e7fbc82de31346f395fe78cb0b
parentf189c5cb8ddde0c01838f2b3bc7650e86c097a14
[SCSI] fix 3ware raid emulated commands

The 3ware emulated commands all expect they are executing in the
use_sg == 0 case, which isn't true either in the block layer rework or
an SG_IO ioctl.

Fix this by adding the correct kmapping of the first element in the sg
list.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/3w-xxxx.c