qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PULL 10/11] block: Fix bdrv_co_flush early return


From: Fam Zheng
Subject: Re: [Qemu-devel] [PULL 10/11] block: Fix bdrv_co_flush early return
Date: Wed, 26 Apr 2017 08:19:12 +0800
User-agent: Mutt/1.8.0 (2017-02-23)

On Tue, 04/25 16:00, Peter Maydell wrote:
> 
> Coverity points out that there's a problem here -- we call
> bdrv_inc_in_flight(bs), which assumes bs is not NULL, before
> we do the test for whether bs is NULL.
> 
> Presumably the NULL check needs to be pulled up earlier in
> the function?
> 

Yes, will take care of this one.

Fam



reply via email to

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