block: protect tracked_requests and flush_queue with reqs_lock
commit3783fa3dd3d0104e9780bde073f66f1e37f1ce1c
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 5 Jun 2017 12:39:02 +0000 (5 14:39 +0200)
committerFam Zheng <famz@redhat.com>
Thu, 15 Jun 2017 23:55:00 +0000 (16 07:55 +0800)
treeeee263b38e7576626762e5498b67858e7297e787
parent47fec59941a7182380bc8dde3faf17cfb05b770f
block: protect tracked_requests and flush_queue with reqs_lock

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20170605123908.18777-14-pbonzini@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
block.c
block/io.c
include/block/block_int.h