Re: [Qemu-devel] [PATCH] blkdebug: Use QLIST_FOREACH_SAFE to resume IO

2013-12-13 Thread Kevin Wolf
Am 13.12.2013 um 08:25 hat Fam Zheng geschrieben: > Qemu-iotest 030 was broken. > > When the coroutine runs and finishes, it will remove itself from the req > list, so let's use safe version of foreach to avoid use after free. > > Signed-off-by: Fam Zheng Thanks, applied to the block branch. >

[Qemu-devel] [PATCH] blkdebug: Use QLIST_FOREACH_SAFE to resume IO

2013-12-12 Thread Fam Zheng
Qemu-iotest 030 was broken. When the coroutine runs and finishes, it will remove itself from the req list, so let's use safe version of foreach to avoid use after free. Signed-off-by: Fam Zheng --- block/blkdebug.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bloc