From: Kevin Wolf <kwolf@redhat.com>
To: Frediano Ziglio <freddy77@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] qcow2: initialize metadata before inserting in cluster_allocs
Date: Thu, 08 Sep 2011 14:11:48 +0200 [thread overview]
Message-ID: <4E68B104.3020408@redhat.com> (raw)
In-Reply-To: <1315481922-4690-1-git-send-email-freddy77@gmail.com>
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 <freddy77@gmail.com>
Thanks, applied to the block branch.
Kevin
prev parent reply other threads:[~2011-09-08 12:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-08 11:38 [Qemu-devel] [PATCH] qcow2: initialize metadata before inserting in cluster_allocs Frediano Ziglio
2011-09-08 12:11 ` Kevin Wolf [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E68B104.3020408@redhat.com \
--to=kwolf@redhat.com \
--cc=freddy77@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).