[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH v2 1/6] nbd/server: add additional assert to nbd
From: |
Eric Blake |
Subject: |
Re: [Qemu-block] [PATCH v2 1/6] nbd/server: add additional assert to nbd_export_put |
Date: |
Wed, 10 Jan 2018 10:33:12 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 |
On 12/07/2017 09:50 AM, 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 <address@hidden>
> Reviewed-by: Eric Blake <address@hidden>
> Reviewed-by: Max Reitz <address@hidden>
> ---
> nbd/server.c | 6 ++++++
> 1 file changed, 6 insertions(+)
I'm going ahead and staging this one in my NBD queue now, while still
waiting for resolution on my comments later in the series.
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-block] [PATCH v2 1/6] nbd/server: add additional assert to nbd_export_put,
Eric Blake <=