qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2 13/16] block: Implement bdrv_append() without


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH v2 13/16] block: Implement bdrv_append() without bdrv_swap()
Date: Fri, 9 Oct 2015 15:54:45 +0100
User-agent: Mutt/1.5.24 (2015-08-30)

On Thu, Oct 01, 2015 at 03:13:31PM +0200, Kevin Wolf wrote:
> +static void change_parent_backing_link(BlockDriverState *from,
> +                                       BlockDriverState *to)
> +{
> +    BdrvChild *c, *next;
> +
> +    QLIST_FOREACH_SAFE(c, &from->parents, next_parent, next) {

I find the name "c" confusing because it reminds me of children rather
than the parents list.

Perhaps "parent" would be clearer here.



reply via email to

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