qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2 04/16] quorum: Convert to BdrvChild


From: Max Reitz
Subject: Re: [Qemu-devel] [PATCH v2 04/16] quorum: Convert to BdrvChild
Date: Wed, 7 Oct 2015 20:16:54 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 01.10.2015 15:13, Kevin Wolf wrote:
> Signed-off-by: Kevin Wolf <address@hidden>
> Reviewed-by: Max Reitz <address@hidden>
> Reviewed-by: Alberto Garcia <address@hidden>
> ---
>  block/quorum.c | 63 
> ++++++++++++++++++++++++++++++----------------------------
>  1 file changed, 33 insertions(+), 30 deletions(-)
> 
> diff --git a/block/quorum.c b/block/quorum.c
> index 8fe53b4..c4cda32 100644
> --- a/block/quorum.c
> +++ b/block/quorum.c

[...]

> @@ -923,7 +924,7 @@ static int quorum_open(BlockDriverState *bs, QDict 
> *options, int flags,
>      }
>  
>      /* allocate the children BlockDriverState array */

Just noticed when looking at some other series: This comment is now stale.

Max

> -    s->bs = g_new0(BlockDriverState *, s->num_children);
> +    s->children = g_new0(BdrvChild *, s->num_children);
>      opened = g_new0(bool, s->num_children);
>  
>      for (i = 0; i < s->num_children; i++) {


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]