virtio_scsi: use cmd_size
authorChristoph Hellwig <hch@lst.de>
Thu, 1 May 2014 14:51:50 +0000 (16:51 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 19 May 2014 17:57:23 +0000 (19:57 +0200)
commitb54197c43db88f4436717f554d623189cddce29e
treed8ea18d1b76b79e5c82a0c17196971d9cfff94a1
parentfdbcbcab0eae6773430546697ace0b3fe48e7fbc
virtio_scsi: use cmd_size

Taken almost entirely from Nicholas Bellinger's scsi-mq conversion.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/scsi/virtio_scsi.c
include/scsi/scsi_cmnd.h