qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-block] [PATCH v8 09/16] blockdev: Use blk_remove_bs() in do_dr


From: Fam Zheng
Subject: Re: [Qemu-block] [PATCH v8 09/16] blockdev: Use blk_remove_bs() in do_drive_del()
Date: Thu, 28 Jan 2016 11:29:13 +0800
User-agent: Mutt/1.5.21 (2010-09-15)

On Wed, 01/27 18:59, Max Reitz wrote:
> Signed-off-by: Max Reitz <address@hidden>
> Reviewed-by: Kevin Wolf <address@hidden>
> ---
>  blockdev.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/blockdev.c b/blockdev.c
> index 1044a6a..09d4621 100644
> --- a/blockdev.c
> +++ b/blockdev.c
> @@ -2792,7 +2792,7 @@ void hmp_drive_del(Monitor *mon, const QDict *qdict)
>              return;
>          }
>  
> -        bdrv_close(bs);
> +        blk_remove_bs(blk);
>      }
>  
>      /* if we have a device attached to this BlockDriverState
> -- 
> 2.7.0
> 

Reviewed-by: Fam Zheng <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]