Re: [Qemu-devel] [PATCH v2 1/2] block: clean up bdrv_open2 structure a bit

2010-01-26 Thread Anthony Liguori
On 01/20/2010 11:13 AM, Christoph Hellwig wrote: Check the whitelist as early as possible instead of continuing the setup, and move all the error handling code to the end of the function. Signed-off-by: Christoph Hellwig Applied all. Thanks. Regards, Anthony Liguori Index: qemu/block.

[Qemu-devel] [PATCH v2 1/2] block: clean up bdrv_open2 structure a bit

2010-01-20 Thread Christoph Hellwig
Check the whitelist as early as possible instead of continuing the setup, and move all the error handling code to the end of the function. Signed-off-by: Christoph Hellwig Index: qemu/block.c === --- qemu.orig/block.c 2010-01-20 1