On Wed, Aug 27, 2014 at 07:33:13AM -0600, Eric Blake wrote: > buf-size has the same bug a few lines later; might as well fix both at once.
Hmm...which git tree are you looking at? I don't see any error paths for buf_size: http://git.qemu-project.org/?p=qemu.git;a=blob;f=blockdev.c;h=6a204c662d4b648c78a379f5b8e8120254dde479;hb=HEAD#l2140 Stefan
pgpXHeHH8hVW7.pgp
Description: PGP signature