Received: from eggs.gnu.org ([2001:4830:134:3::10]:35863) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c9AaY-0002eB-7e for qemu-devel@nongnu.org; Tue, 22 Nov 2016 07:54:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c9AaX-0002aI-BV for qemu-devel@nongnu.org; Tue, 22 Nov 2016 07:54:18 -0500 References: <1479817444-6880-1-git-send-email-kwolf@redhat.com> <1479817444-6880-10-git-send-email-kwolf@redhat.com> From: Eric Blake Message-ID: <0ee2e7ac-73cb-ca45-fb90-06da6763b4d9@redhat.com> Date: Tue, 22 Nov 2016 06:54:07 -0600 MIME-Version: 1.0 In-Reply-To: <1479817444-6880-10-git-send-email-kwolf@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="nMjtfqIL7B62KmioVd9DhfXTFgWBv62dL" Subject: Re: [Qemu-devel] [PATCH v2 9/9] quorum: Clean up quorum_aio_get() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf , qemu-block@nongnu.org Cc: berto@igalia.com, mreitz@redhat.com, qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --nMjtfqIL7B62KmioVd9DhfXTFgWBv62dL From: Eric Blake To: Kevin Wolf , qemu-block@nongnu.org Cc: berto@igalia.com, mreitz@redhat.com, qemu-devel@nongnu.org Message-ID: <0ee2e7ac-73cb-ca45-fb90-06da6763b4d9@redhat.com> Subject: Re: [PATCH v2 9/9] quorum: Clean up quorum_aio_get() References: <1479817444-6880-1-git-send-email-kwolf@redhat.com> <1479817444-6880-10-git-send-email-kwolf@redhat.com> In-Reply-To: <1479817444-6880-10-git-send-email-kwolf@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 11/22/2016 06:24 AM, Kevin Wolf wrote: > Make sure that all fields of the new QuorumAIOCB are zeroed when the > function returns even without explicitly setting them. This will protec= t > us when new fields are added, removes some explicit zero assignment and= > makes the code a little nicer to read. >=20 > Suggested-by: Eric Blake > Signed-off-by: Kevin Wolf > --- > block/quorum.c | 23 ++++++++++------------- > 1 file changed, 10 insertions(+), 13 deletions(-) >=20 Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --nMjtfqIL7B62KmioVd9DhfXTFgWBv62dL Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJYND/vAAoJEKeha0olJ0NqRssIAKie61yxKO9NM9A7y6Yas129 QW6A+pPZOMuKYitS25whEdkVW3/i4X1+eoHot9NF4I8KrTSUfRqezjow5q6uo0Br pDxsqm3/qFi1Gzx7dB/QjILeIU2N58Vz6IcWf/4iK+Uv90fZ2AH6WOP49FhS7O6i u6brDQ5h8YA+5guTlSvIwndyf350hfEj+UT5fnNS4dqZruRriJDpd6vnWb2mrmGf oMJUPqSQKsk/QIWk0ZaQKM0odt0NuTX+W/+NTLFdGwdt0aewOvrf0T5ZvUQZWkYt MYu0FJizJVnOWAHqPe43CXI6dELAkdzHXi2x0lEE5KlA5G3euOEhNb4JMzupR+E= =lYyW -----END PGP SIGNATURE----- --nMjtfqIL7B62KmioVd9DhfXTFgWBv62dL--