block: Remove superfluous semicolons
Fixes: 132ada80c4
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200218094402.26625-4-philmd@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
d439848941
commit
0beab8119f
4
block.c
4
block.c
@ -2435,13 +2435,13 @@ BdrvChild *bdrv_root_attach_child(BlockDriverState *child_bs,
|
|||||||
if (bdrv_get_aio_context(child_bs) != ctx) {
|
if (bdrv_get_aio_context(child_bs) != ctx) {
|
||||||
ret = bdrv_try_set_aio_context(child_bs, ctx, &local_err);
|
ret = bdrv_try_set_aio_context(child_bs, ctx, &local_err);
|
||||||
if (ret < 0 && child_role->can_set_aio_ctx) {
|
if (ret < 0 && child_role->can_set_aio_ctx) {
|
||||||
GSList *ignore = g_slist_prepend(NULL, child);;
|
GSList *ignore = g_slist_prepend(NULL, child);
|
||||||
ctx = bdrv_get_aio_context(child_bs);
|
ctx = bdrv_get_aio_context(child_bs);
|
||||||
if (child_role->can_set_aio_ctx(child, ctx, &ignore, NULL)) {
|
if (child_role->can_set_aio_ctx(child, ctx, &ignore, NULL)) {
|
||||||
error_free(local_err);
|
error_free(local_err);
|
||||||
ret = 0;
|
ret = 0;
|
||||||
g_slist_free(ignore);
|
g_slist_free(ignore);
|
||||||
ignore = g_slist_prepend(NULL, child);;
|
ignore = g_slist_prepend(NULL, child);
|
||||||
child_role->set_aio_ctx(child, ctx, &ignore);
|
child_role->set_aio_ctx(child, ctx, &ignore);
|
||||||
}
|
}
|
||||||
g_slist_free(ignore);
|
g_slist_free(ignore);
|
||||||
|
Loading…
Reference in New Issue
Block a user