From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47445) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOSeJ-0002LG-LK for qemu-devel@nongnu.org; Wed, 27 Jan 2016 11:08:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aOSeI-0001Ia-Px for qemu-devel@nongnu.org; Wed, 27 Jan 2016 11:08:51 -0500 References: <1453804705-7205-1-git-send-email-famz@redhat.com> <1453804705-7205-6-git-send-email-famz@redhat.com> From: Eric Blake Message-ID: <56A8EB83.60103@redhat.com> Date: Wed, 27 Jan 2016 09:08:35 -0700 MIME-Version: 1.0 In-Reply-To: <1453804705-7205-6-git-send-email-famz@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="epfVKhqLkvHDLO9IF5h2bR3M8VjAXLeJG" Subject: Re: [Qemu-devel] [RFC PATCH 05/16] block: Make bdrv_get_cluster_size public List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng , qemu-devel@nongnu.org Cc: Kevin Wolf , qemu-block@nongnu.org, Markus Armbruster , mreitz@redhat.com, vsementsov@parallels.com, Stefan Hajnoczi , jsnow@redhat.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --epfVKhqLkvHDLO9IF5h2bR3M8VjAXLeJG Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 01/26/2016 03:38 AM, Fam Zheng wrote: > Signed-off-by: Fam Zheng > --- > block/io.c | 2 +- > include/block/block.h | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) Reviewed-by: Eric Blake >=20 > diff --git a/block/io.c b/block/io.c > index b964e7e..15e461f 100644 > --- a/block/io.c > +++ b/block/io.c > @@ -425,7 +425,7 @@ void bdrv_round_to_clusters(BlockDriverState *bs, > } > } > =20 > -static int bdrv_get_cluster_size(BlockDriverState *bs) > +int bdrv_get_cluster_size(BlockDriverState *bs) > { Worth adding a doc comment while touching it? --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --epfVKhqLkvHDLO9IF5h2bR3M8VjAXLeJG 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/ iQEcBAEBCAAGBQJWqOuDAAoJEKeha0olJ0NqebMH/0/qyRk6ZROnMX/s1z5dBfu9 6R0vhMYwKfC0zK5yEbPaCwzemDlkAeeD1paqS/TCbOE7Gldp1a6XRTWqnEAKib4d 6COlDH2fF0fp8yZOBK+Q47Wrtlj34LD/5RUmFN9ioLYSod/SoFcuHs1E0cPC/6k/ VorgUdqr7ScReGTFs85as141f+Jckqjh5cjKbOfy7EyeM1ovpo6PRmk7ebFjZyFZ SsMT+lqJFzGf0a/xDDWjJEWIewEo7Y/9WBygn8/ijDobs+MYRrgFUH0NJnghyP4U +6n3JDkk8UbIuN/neLqKWHAD6AoT5yyf4H0wzBqjsoIoLIO4rdgwxb3iCU3VPWg= =NDMt -----END PGP SIGNATURE----- --epfVKhqLkvHDLO9IF5h2bR3M8VjAXLeJG--