]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit41b8a0f1c3c774408a17111b7c14812069d7e251
tree205dd94cfcb952d329020afda6518b40c50d52a8
parentb8195e6734130455fb0bc813cbdf850e4e790a62
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