tcm_vhost: Add vhost_scsi_send_bad_target() helper
authorAsias He <asias@redhat.com>
Wed, 10 Apr 2013 07:06:15 +0000 (15:06 +0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Thu, 11 Apr 2013 08:48:35 +0000 (01:48 -0700)
commit637ab21e284f4e9188acc2746695f7f6452b4a22
treea2462717d475c5fac98b4ba0adea38297c30e9d4
parent7ea206cf3b06704cf2bfc9c9c395094b24dc44a2
tcm_vhost: Add vhost_scsi_send_bad_target() helper

Share the send bad target code with other use cases.

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