qemu-block
[Top][All Lists]
Advanced

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

Re: [Qemu-block] [PATCH for-2.6 01/14] block: Add "file" output paramete


From: Fam Zheng
Subject: Re: [Qemu-block] [PATCH for-2.6 01/14] block: Add "file" output parameter to block status query functions
Date: Tue, 24 Nov 2015 20:50:05 +0800
User-agent: Mutt/1.5.21 (2010-09-15)

On Tue, 11/24 12:47, Paolo Bonzini wrote:
> 
> 
> On 24/11/2015 06:21, Fam Zheng wrote:
> > +    if (bs->file && *file == bs->file->bs &&
> 
> This check is unnecessary, just use "if (file)".

"file" would be bs in the case of protocol, and this function will infinitely
recurse.

Fam



reply via email to

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