vhost/scsi: Convert to target_alloc_session usage
authorNicholas Bellinger <nab@linux-iscsi.org>
Sat, 9 Jan 2016 13:47:55 +0000 (05:47 -0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 11 Mar 2016 05:45:25 +0000 (21:45 -0800)
commit65ea789869a519b63382418bb38ba61b62ec4b4c
tree8e1a3680ba8967c03ea2a17678a15faf5ea5f972
parentfb444abe61f5a943a41870d71eab8c4402bd46ab
vhost/scsi: Convert to target_alloc_session usage

This patch converts vhost/scsi pre-allocation of vhost_scsi_cmd
descriptors to use the new alloc_session callback().

Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/vhost/scsi.c