]> git.baikalelectronics.ru Git - kernel.git/commit
vhost-scsi: Add missing virtio-scsi -> TCM attribute conversion
authorNicholas Bellinger <nab@linux-iscsi.org>
Sun, 21 Dec 2014 18:42:08 +0000 (10:42 -0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 6 Jan 2015 21:46:29 +0000 (13:46 -0800)
commit00803b8581437956f93de0d19da1b8f43bca5bc0
tree9f3566128019cb222ed2dbb6ba730aa356bc750b
parentbfa6fa2a2dfa997f6c80e35808e50464ecfebcda
vhost-scsi: Add missing virtio-scsi -> TCM attribute conversion

While looking at hch's recent conversion to drop the MSG_*_TAG
definitions, I noticed a long standing bug in vhost-scsi where
the VIRTIO_SCSI_S_* attribute definitions where incorrectly
being passed directly into target_submit_cmd_map_sgls().

This patch adds the missing virtio-scsi to TCM/SAM task attribute
conversion.

Cc: Christoph Hellwig <hch@lst.de>
Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: stable@vger.kernel.org # 3.5
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/vhost/scsi.c