diff options
| author | Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> | 2017-12-07 18:50:57 +0300 |
|---|---|---|
| committer | Eric Blake <eblake@redhat.com> | 2018-01-09 12:53:44 -0600 |
| commit | 9156245ec49b36d934ed09d49ffbd5dd37285374 (patch) | |
| tree | 79136c40765a7a3c320f09d1e169af3d2476513e /scripts/qapi2texi.py | |
| parent | 3cee4db661ab9c0fce7937b3bbfa188a1845f31f (diff) | |
| download | focaccia-qemu-9156245ec49b36d934ed09d49ffbd5dd37285374.tar.gz focaccia-qemu-9156245ec49b36d934ed09d49ffbd5dd37285374.zip | |
nbd/server: add additional assert to nbd_export_put
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> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Message-Id: <20171207155102.66622-2-vsementsov@virtuozzo.com> Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'scripts/qapi2texi.py')
0 files changed, 0 insertions, 0 deletions