qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Max Reitz <mreitz@redhat.com>
To: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>,
	qemu-block@nongnu.org, qemu-devel@nongnu.org
Cc: eblake@redhat.com, pbonzini@redhat.com, kwolf@redhat.com,
	armbru@redhat.com, den@openvz.org
Subject: Re: [Qemu-devel] [PATCH 1/2] nbd/server: add additional assert to nbd_export_put
Date: Fri, 1 Dec 2017 20:11:48 +0100	[thread overview]
Message-ID: <f6ca4eb8-45b7-9169-b98e-dbb2cc69209f@redhat.com> (raw)
In-Reply-To: <20171109154049.42386-2-vsementsov@virtuozzo.com>

[-- Attachment #1: Type: text/plain, Size: 454 bytes --]

On 2017-11-09 16:40, Vladimir Sementsov-Ogievskiy wrote:
> This place is not obvious, nbd_export_close may theoretically reduce
> refcount to 0. It may happen if someone calls nbd_export_put on named
> export not through nbd_export_set_name when refcount is 1.
> 
> Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
> ---
>  nbd/server.c | 1 +
>  1 file changed, 1 insertion(+)
Reviewed-by: Max Reitz <mreitz@redhat.com>


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 512 bytes --]

  reply	other threads:[~2017-12-01 19:12 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-09 15:40 [Qemu-devel] [PATCH 0/2] add qmp nbd-server-remove Vladimir Sementsov-Ogievskiy
2017-11-09 15:40 ` [Qemu-devel] [PATCH 1/2] nbd/server: add additional assert to nbd_export_put Vladimir Sementsov-Ogievskiy
2017-12-01 19:11   ` Max Reitz [this message]
2017-11-09 15:40 ` [Qemu-devel] [PATCH 2/2] qmp: add nbd-server-remove Vladimir Sementsov-Ogievskiy
2017-11-09 15:54   ` Eric Blake
2017-12-01 19:21   ` Max Reitz
2017-12-04 12:32   ` Kevin Wolf
2017-12-04 12:38     ` Vladimir Sementsov-Ogievskiy
2017-11-09 15:54 ` [Qemu-devel] [PATCH 0/2] add qmp nbd-server-remove Eric Blake

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=f6ca4eb8-45b7-9169-b98e-dbb2cc69209f@redhat.com \
    --to=mreitz@redhat.com \
    --cc=armbru@redhat.com \
    --cc=den@openvz.org \
    --cc=eblake@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-block@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=vsementsov@virtuozzo.com \
    /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).