diff options
author | Nikita Alekseev <n.alekseev2104@gmail.com> | 2019-04-01 12:30:51 +0300 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2019-05-10 10:53:21 +0100 |
commit | 66a5bdf3096cf8bc8c41eb7adcc9d10edef07a9d (patch) | |
tree | 5f3cedff499663b01630989c1e6fbe7c7ae5ff19 /block.c | |
parent | e238a99e89e6304a21ea4bf8f4ec3c296624199b (diff) | |
download | qemu-66a5bdf3096cf8bc8c41eb7adcc9d10edef07a9d.zip qemu-66a5bdf3096cf8bc8c41eb7adcc9d10edef07a9d.tar.gz qemu-66a5bdf3096cf8bc8c41eb7adcc9d10edef07a9d.tar.bz2 |
block: Add coroutine_fn to bdrv_check_co_entry
bdrv_check_co_entry calls bdrv_co_check, which is a coroutine function.
Thus, it also needs to be marked as a coroutine.
Signed-off-by: Nikita Alekseev <n.alekseev2104@gmail.com>
Message-id: 20190401093051.16488-1-n.alekseev2104@gmail.com
Message-Id: <20190401093051.16488-1-n.alekseev2104@gmail.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block.c')
-rw-r--r-- | block.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4121,7 +4121,7 @@ typedef struct CheckCo { int ret; } CheckCo; -static void bdrv_check_co_entry(void *opaque) +static void coroutine_fn bdrv_check_co_entry(void *opaque) { CheckCo *cco = opaque; cco->ret = bdrv_co_check(cco->bs, cco->res, cco->fix); |