Re: [PATCH 19/29] block/export: Move strong user reference to block_exports

2020-09-10 Thread Max Reitz
On 10.09.20 15:33, Max Reitz wrote: > On 07.09.20 20:20, Kevin Wolf wrote: >> The reference owned by the user/monitor that is created when adding the >> export and dropped when removing it was tied to the 'exports' list in >> nbd/server.c. Every block export will have a user reference, so move it

Re: [PATCH 19/29] block/export: Move strong user reference to block_exports

2020-09-10 Thread Max Reitz
On 07.09.20 20:20, Kevin Wolf wrote: > The reference owned by the user/monitor that is created when adding the > export and dropped when removing it was tied to the 'exports' list in > nbd/server.c. Every block export will have a user reference, so move it > to the block export level and tie it to

[PATCH 19/29] block/export: Move strong user reference to block_exports

2020-09-07 Thread Kevin Wolf
The reference owned by the user/monitor that is created when adding the export and dropped when removing it was tied to the 'exports' list in nbd/server.c. Every block export will have a user reference, so move it to the block export level and tie it to the 'block_exports' list in