Re: [Qemu-devel] [PATCH] block: Fix multiwrite error handling

2010-04-09 Thread Aurelien Jarno
On Thu, Apr 01, 2010 at 10:48:44PM +0200, Kevin Wolf wrote: When two requests of the same multiwrite batch fail, the callback of all requests in that batch were called twice. This could have any kind of nasty effects, in my case it lead to use after free and eventually a segfault.

[Qemu-devel] [PATCH] block: Fix multiwrite error handling

2010-04-01 Thread Kevin Wolf
When two requests of the same multiwrite batch fail, the callback of all requests in that batch were called twice. This could have any kind of nasty effects, in my case it lead to use after free and eventually a segfault. Signed-off-by: Kevin Wolf kw...@redhat.com --- block.c |2 +- 1 files