vmw_pvscsi: fixup tagging
authorHannes Reinecke <hare@suse.de>
Thu, 2 Oct 2014 07:21:41 +0000 (09:21 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 12 Nov 2014 10:31:59 +0000 (11:31 +0100)
commit6932fc677ef67632137008f94d5c485a55946813
treeecc2a96f1e95f395b6a7a035fd7785ac135284d0
parent17c9ff5221edb6680f0f5591dd3f371f758f7567
vmw_pvscsi: fixup tagging

The request (and SCSI command) tag is the tag number assigned
by the generic block-tagging code, not the SCSI-II tag messages.
Those are represented by the device flags 'tagged_supported',
'simple_tags', and 'ordered_tags'.
(The SCSI midlayer doesn't use HEAD_OF_QUEUE tags).
So fixup vmw_pvscsi to assign the correct tag type.

[hch: fixed up to never set MSG_ORDERED_TAG]
Signed-off-by: Hannes Reinecke <hare@suse.de>
Acked-by: Arvind Kumar <arvindkumar@vmware.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/vmw_pvscsi.c