Re: [PATCH 09/20] nbd: Remove nbd_co_flush() wrapper function

2023-05-01 Thread Stefan Hajnoczi
On Tue, Apr 25, 2023 at 07:31:47PM +0200, Kevin Wolf wrote: > The only thing nbd_co_flush() does is calling nbd_client_co_flush(). > Just use that function directly in the BlockDriver definitions and > remove the wrapper. > > Signed-off-by: Kevin Wolf > --- > block/nbd.c | 11 +++ > 1 fi

Re: [PATCH 09/20] nbd: Remove nbd_co_flush() wrapper function

2023-04-25 Thread Eric Blake
On Tue, Apr 25, 2023 at 07:31:47PM +0200, Kevin Wolf wrote: > The only thing nbd_co_flush() does is calling nbd_client_co_flush(). s/calling/call/ > Just use that function directly in the BlockDriver definitions and > remove the wrapper. > > Signed-off-by: Kevin Wolf > --- > block/nbd.c | 11 +

[PATCH 09/20] nbd: Remove nbd_co_flush() wrapper function

2023-04-25 Thread Kevin Wolf
The only thing nbd_co_flush() does is calling nbd_client_co_flush(). Just use that function directly in the BlockDriver definitions and remove the wrapper. Signed-off-by: Kevin Wolf --- block/nbd.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/block/nbd.c b/bloc