From: Max Reitz <mreitz@redhat.com>
To: Kevin Wolf <kwolf@redhat.com>, qemu-block@nongnu.org
Cc: armbru@redhat.com, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] block: Remove bdrv_make_anon()
Date: Wed, 23 Mar 2016 21:11:47 +0100 [thread overview]
Message-ID: <56F2F883.7000505@redhat.com> (raw)
In-Reply-To: <1458297067-19624-1-git-send-email-kwolf@redhat.com>
[-- Attachment #1.1: Type: text/plain, Size: 759 bytes --]
On 18.03.2016 11:31, Kevin Wolf wrote:
> The call in hmp_drive_del() is dead code because blk_remove_bs() is
> called a few lines above.
Ah, so that's why I didn't have it in v3. Thanks for solving that
mystery for me. :-)
> The only other remaining user is
> bdrv_delete(), which only abuses bdrv_make_anon() to remove it from the
> named nodes list. This path inlines the list entry removal into
> bdrv_delete() and removes bdrv_make_anon().
>
> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
> ---
> block.c | 15 +++------------
> blockdev.c | 3 ---
> include/block/block.h | 1 -
> 3 files changed, 3 insertions(+), 16 deletions(-)
Reviewed-by: Max Reitz <mreitz@redhat.com>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
next prev parent reply other threads:[~2016-03-23 20:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-18 10:31 [Qemu-devel] [PATCH] block: Remove bdrv_make_anon() Kevin Wolf
2016-03-21 21:53 ` Eric Blake
2016-03-23 20:11 ` Max Reitz [this message]
2016-03-24 8:31 ` Kevin Wolf
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=56F2F883.7000505@redhat.com \
--to=mreitz@redhat.com \
--cc=armbru@redhat.com \
--cc=kwolf@redhat.com \
--cc=qemu-block@nongnu.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.