qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 1/2] block: clean up bdrv_open2 structure a bit


From: Christoph Hellwig
Subject: Re: [Qemu-devel] [PATCH 1/2] block: clean up bdrv_open2 structure a bit
Date: Tue, 12 Jan 2010 18:09:05 +0100
User-agent: Mutt/1.3.28i

On Tue, Jan 12, 2010 at 05:04:00PM +0100, Kevin Wolf wrote:
> To keep the behaviour as previously you'd need to set at least bs->drv
> in the unlink_and_fail case, too. I have no clue why it's important to
> set it to NULL when bs isn't going to be used anyway (probably it is,
> but I don't know where), but Fabrice committed this in 6b21b973 as a
> fix. Unfortunately, the commit message looks like most of Fabrice's
> commit messages, so it's of no use for me...

The unlink_and_fail label can only be reached from places where we
haven't set bs->drv yet, so it should be fine.





reply via email to

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