Re: [PATCH 26/29] nbd: Merge nbd_export_new() and nbd_export_create()

2020-09-10 Thread Max Reitz
On 07.09.20 20:20, Kevin Wolf wrote: > There is no real reason any more why nbd_export_new() and > nbd_export_create() should be separate functions. The latter only > performs a few checks before it calls the former. Move all the checks to > nbd/server.c and make the resulting function static. >

[PATCH 26/29] nbd: Merge nbd_export_new() and nbd_export_create()

2020-09-07 Thread Kevin Wolf
There is no real reason any more why nbd_export_new() and nbd_export_create() should be separate functions. The latter only performs a few checks before it calls the former. Move all the checks to nbd/server.c and make the resulting function static. Signed-off-by: Kevin Wolf ---