On Thu, Jun 25, 2020 at 08:48:37PM +0200, Philippe Mathieu-Daudé wrote: > The queues are tied to the hardware, not to the block driver. > As this function doesn't need to know about the BDRVNVMeState, > move the 'plugged' check to the caller. > Since in nvme_aio_unplug() we know that s->plugged is false, > we don't need the check. > > Signed-off-by: Philippe Mathieu-Daudé <[email protected]> > --- > block/nvme.c | 10 ++++++---- > 1 file changed, 6 insertions(+), 4 deletions(-)
Reviewed-by: Stefan Hajnoczi <[email protected]>
signature.asc
Description: PGP signature
