commit | 038e0af4a4fc4db9631aef39ab53e5d991b972ef | [log] [tgz] |
---|---|---|
author | Asias He <asias@redhat.com> | Fri Mar 15 09:14:05 2013 +0800 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Mon Mar 18 14:34:35 2013 -0700 |
tree | 7ca8d79a0b44ee369d629486ced4063bfdaa366d | |
parent | 0fb889b83186e54c0cfa79516599f2267fb553fb [diff] |
tcm_vhost: Add missed lock in vhost_scsi_clear_endpoint() tv_tpg->tv_tpg_vhost_count should be protected by tv_tpg->tv_tpg_mutex. 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>