quorum: change child_iter to children_read
commit86ec252c198a62b3a1da3ac62277adf917d985cf
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 5 Oct 2016 16:35:26 +0000 (5 18:35 +0200)
committerMax Reitz <mreitz@redhat.com>
Mon, 24 Oct 2016 15:56:06 +0000 (24 17:56 +0200)
treef52d46209dc13fab0d693179ef647d8784fdb9f5
parent12ac9d9e903e1a23d59aeb18d5eb50ddcf9ec975
quorum: change child_iter to children_read

This simplifies a bit the code by using the usual C "inclusive start,
exclusive end" pattern for ranges.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1475685327-22767-2-git-send-email-pbonzini@redhat.com
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
block/quorum.c