[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++) {
signature.asc
Description: OpenPGP digital signature
- Re: [Qemu-devel] [PATCH v2 08/16] block: Manage backing file references in bdrv_set_backing_hd(), (continued)
- [Qemu-devel] [PATCH v2 07/16] block: Convert bs->backing_hd to BdrvChild, Kevin Wolf, 2015/10/08
- [Qemu-devel] [PATCH v2 09/16] block: Split bdrv_move_feature_fields(), Kevin Wolf, 2015/10/08
- [Qemu-devel] [PATCH v2 02/16] vmdk: Use BdrvChild instead of BDS for references to extents, Kevin Wolf, 2015/10/08
- [Qemu-devel] [PATCH v2 04/16] quorum: Convert to BdrvChild, Kevin Wolf, 2015/10/08
- Re: [Qemu-devel] [PATCH v2 04/16] quorum: Convert to BdrvChild,
Max Reitz <=
- [Qemu-devel] [PATCH v2 01/16] block: Introduce BDS.file_child, Kevin Wolf, 2015/10/08
- [Qemu-devel] [PATCH v2 12/16] block: Introduce parents list, Kevin Wolf, 2015/10/08
- [Qemu-devel] [PATCH v2 14/16] blockjob: Store device name at job creation, Kevin Wolf, 2015/10/08
- [Qemu-devel] [PATCH v2 10/16] block/io: Make bdrv_requests_pending() public, Kevin Wolf, 2015/10/08
- [Qemu-devel] [PATCH v2 05/16] block: Convert bs->file to BdrvChild, Kevin Wolf, 2015/10/08