Re: [Qemu-block] [PATCH 1/2] quorum: change child_iter to children_read

2016-10-07 Thread Alberto Garcia
On Wed 05 Oct 2016 06:35:26 PM CEST, Paolo Bonzini wrote: > This simplifies a bit the code by using the usual C "inclusive start, > exclusive end" pattern for ranges. > > Signed-off-by: Paolo Bonzini Reviewed-by: Alberto Garcia Berto

Re: [Qemu-block] [PATCH 1/2] quorum: change child_iter to children_read

2016-10-05 Thread Max Reitz
On 05.10.2016 18:35, Paolo Bonzini wrote: > This simplifies a bit the code by using the usual C "inclusive start, > exclusive end" pattern for ranges. > > Signed-off-by: Paolo Bonzini > --- > block/quorum.c | 30 +- > 1 file changed, 13 insertions(+), 17 deletions(-)

[Qemu-block] [PATCH 1/2] quorum: change child_iter to children_read

2016-10-05 Thread Paolo Bonzini
This simplifies a bit the code by using the usual C "inclusive start, exclusive end" pattern for ranges. Signed-off-by: Paolo Bonzini --- block/quorum.c | 30 +- 1 file changed, 13 insertions(+), 17 deletions(-) diff --git a/block/quorum.c b/block/quorum.c index 9cf8