qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] qcow2: initialize metadata before inserting in


From: Kevin Wolf
Subject: Re: [Qemu-devel] [PATCH] qcow2: initialize metadata before inserting in cluster_allocs
Date: Thu, 08 Sep 2011 14:11:48 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0

Am 08.09.2011 13:38, schrieb Frediano Ziglio:
> QCow2Meta structure was inserted into list before many fields are
> initialized. Currently is not a problem cause all occur in a lock
> but if qcow2_alloc_clusters would in a future unlock this lock
> some issues could arise.
> Initializing fields before inserting fix the problem.
> 
> Signed-off-by: Frediano Ziglio <address@hidden>

Thanks, applied to the block branch.

Kevin



reply via email to

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