diff options
author | Asias He <asias@redhat.com> | 2013-03-15 09:14:05 +0800 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-03-18 14:34:35 -0700 |
commit | 038e0af4a4fc4db9631aef39ab53e5d991b972ef (patch) | |
tree | 7ca8d79a0b44ee369d629486ced4063bfdaa366d /lib/random32.c | |
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>
Diffstat (limited to 'lib/random32.c')
0 files changed, 0 insertions, 0 deletions