diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2018-02-03 07:16:20 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-01-11 13:57:24 +0100 |
commit | 83d11973fa78be5bf0fd0e00791245e974fe4af3 (patch) | |
tree | 242507524d8d462a8c80ea6ddd048581fac7b7bb /slirp/mbuf.h | |
parent | f92fa85f982bb169c72e790ce07ffb12bda1a89c (diff) | |
download | qemu-83d11973fa78be5bf0fd0e00791245e974fe4af3.zip qemu-83d11973fa78be5bf0fd0e00791245e974fe4af3.tar.gz qemu-83d11973fa78be5bf0fd0e00791245e974fe4af3.tar.bz2 |
block/iscsi: take iscsilun->mutex in iscsi_timed_check_events()
Commit d045c466d9e62b4321fadf586d024d54ddfd8bd4 ("iscsi: do not use
aio_context_acquire/release") introduced iscsilun->mutex but appears to
have overlooked iscsi_timed_check_events() when introducing the mutex.
iscsi_service() and iscsi_set_events() must be called with
iscsilun->mutex held.
iscsi_timed_check_events() is invoked from the AioContext and does not
take the mutex.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20180203061621.7033-3-stefanha@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'slirp/mbuf.h')
0 files changed, 0 insertions, 0 deletions