diff options
author | Emanuele Giuseppe Esposito | 2022-09-26 11:32:12 +0200 |
---|---|---|
committer | Kevin Wolf | 2022-10-07 12:11:41 +0200 |
commit | fca26318a09962645351152a83dfa11d782a645d (patch) | |
tree | bce22f7cbaec6fb71658839ade9a816c834bc435 /hw/virtio/vhost-user-gpio-pci.c | |
parent | job.c: enable job lock/unlock and remove Aiocontext locks (diff) | |
download | qemu-fca26318a09962645351152a83dfa11d782a645d.tar.gz qemu-fca26318a09962645351152a83dfa11d782a645d.tar.xz qemu-fca26318a09962645351152a83dfa11d782a645d.zip |
block_job_query: remove atomic read
Not sure what the atomic here was supposed to do, since job.busy
is protected by the job lock. Since the whole function
is called under job_mutex, just remove the atomic.
Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20220926093214.506243-20-eesposit@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/virtio/vhost-user-gpio-pci.c')
0 files changed, 0 insertions, 0 deletions