diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2023-06-01 13:51:34 +0200 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2023-06-28 09:46:14 +0200 |
| commit | 36c6c8773a20e0205046f95c5688b3f17a4d552d (patch) | |
| tree | e340f85dc78f7494a6f3d2e9690e85bed471d5a1 /hw/net/virtio-net.c | |
| parent | 3cce22defb4b0e47cf135444e30cc673cff5ebad (diff) | |
| download | focaccia-qemu-36c6c8773a20e0205046f95c5688b3f17a4d552d.tar.gz focaccia-qemu-36c6c8773a20e0205046f95c5688b3f17a4d552d.zip | |
file-posix: remove incorrect coroutine_fn calls
raw_co_getlength is called by handle_aiocb_write_zeroes, which is not a coroutine function. This is harmless because raw_co_getlength does not actually suspend, but in the interest of clarity make it a non-coroutine_fn that is just wrapped by the coroutine_fn raw_co_getlength. Likewise, check_cache_dropped was only a coroutine_fn because it called raw_co_getlength, so it can be made non-coroutine as well. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-ID: <20230601115145.196465-2-pbonzini@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/net/virtio-net.c')
0 files changed, 0 insertions, 0 deletions