Frediano Ziglio 05140499d3 qcow2: initialize metadata before inserting in cluster_allocs
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 <freddy77@gmail.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2011-09-12 15:17:22 +02:00
..
2011-09-12 15:17:22 +02:00
2011-09-12 15:17:17 +02:00
2011-08-23 17:41:14 +02:00
2011-08-02 15:53:41 +02:00
2011-08-22 10:19:00 -05:00
2011-08-24 14:53:51 +02:00