block/rbd: fix type of task->complete
task->complete is a bool not an integer. Signed-off-by: Peter Lieven <pl@kamp.de> Message-Id: <20210707180449.32665-1-pl@kamp.de> Reviewed-by: Ilya Dryomov <idryomov@gmail.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
d9f008e623
commit
64cc845bdb
@ -1066,7 +1066,7 @@ static int qemu_rbd_resize(BlockDriverState *bs, uint64_t size)
|
|||||||
static void qemu_rbd_finish_bh(void *opaque)
|
static void qemu_rbd_finish_bh(void *opaque)
|
||||||
{
|
{
|
||||||
RBDTask *task = opaque;
|
RBDTask *task = opaque;
|
||||||
task->complete = 1;
|
task->complete = true;
|
||||||
aio_co_wake(task->co);
|
aio_co_wake(task->co);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user