nbd/server: refactor NBDExportMetaContexts
commitaf736e546717d832168dd332a328bfcf74a0ab3d
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Sat, 9 Jun 2018 15:17:54 +0000 (9 18:17 +0300)
committerEric Blake <eblake@redhat.com>
Thu, 21 Jun 2018 14:23:58 +0000 (21 09:23 -0500)
treeaf94c9cfcb5e9773527ca08c30b38cecbde97f9e
parentdbb8b396bb46388cee92e9094c563297d04c43ed
nbd/server: refactor NBDExportMetaContexts

Use NBDExport pointer instead of just export name: there is no need to
store a duplicated name in the struct; moreover, NBDExport will be used
further.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20180609151758.17343-3-vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
[eblake: commit message grammar tweak]
Signed-off-by: Eric Blake <eblake@redhat.com>
nbd/server.c