On 17.05.2016 09:35, Fam Zheng wrote:
> Signed-off-by: Fam Zheng
> ---
> block.c | 5 +
> include/block/block.h | 2 +-
> 2 files changed, 6 insertions(+), 1 deletion(-)
Maybe this should recurse down bs->file (or just all children) if the
BDS is not locked?
If you don't need
Signed-off-by: Fam Zheng
---
block.c | 5 +
include/block/block.h | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/block.c b/block.c
index 153f9d2..1b42303 100644
--- a/block.c
+++ b/block.c
@@ -879,6 +879,11 @@ static int bdrv_unlock_image(BlockDriverState