qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-block] [PATCH] fix: avoid an infinite loop or a dangling point


From: sochin.jiang
Subject: Re: [Qemu-block] [PATCH] fix: avoid an infinite loop or a dangling pointer problem in img_commit
Date: Sat, 17 Jun 2017 09:22:06 +0800
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0

Good advice, thank you, Max.


On 2017/6/16 21:27, Max Reitz wrote:
> On 2017-06-15 08:47, sochin.jiang wrote:
>> From: "sochin.jiang" <address@hidden>
>>
>> img_commit could fall into an infinite loop calling run_block_job() if
>> its blockjob fails on any I/O error, fix this already known problem.
>>
>> Signed-off-by: sochin.jiang <address@hidden>
>> ---
>>  blockjob.c               |  4 ++--
>>  include/block/blockjob.h | 18 ++++++++++++++++++
>>  qemu-img.c               | 20 +++++++++++++-------
>>  3 files changed, 33 insertions(+), 9 deletions(-)
> Thanks! I've applied the patch to my block branch:
>
> https://github.com/XanClic/qemu/commits/block
>
> PS: In the future, please change the subject prefix to "PATCH v2" (etc.)
> for updated versions of a patch.
>
> Max
>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]