commit | c547e5640d5b0993cdfb252331065c1a1d813bd8 | [log] [tgz] |
---|---|---|
author | Fam Zheng <famz@redhat.com> | Fri Dec 13 15:25:12 2013 +0800 |
committer | Kevin Wolf <kwolf@redhat.com> | Fri Dec 13 17:11:19 2013 +0100 |
tree | 64996a43a78fa7ee499489e84727872e740c21f3 | |
parent | 802c3d4ccc9853ee11c742bc206f284f04259426 [diff] |
blkdebug: Use QLIST_FOREACH_SAFE to resume IO 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 <famz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>