tcm_vhost: Flush vhost_work in vhost_scsi_flush()
authorAsias He <asias@redhat.com>
Fri, 15 Mar 2013 01:14:06 +0000 (09:14 +0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Mon, 18 Mar 2013 21:34:49 +0000 (14:34 -0700)
commit72c77539fd56f5ba8dd538df9f3ce0e331fe601c
tree205dd94cfcb952d329020afda6518b40c50d52a8
parent038e0af4a4fc4db9631aef39ab53e5d991b972ef
tcm_vhost: Flush vhost_work in vhost_scsi_flush()

We also need to flush the vhost_works. It is the completion vhost_work
currently.

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