[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v5 1/6] mirror: don't close target
From: |
Fam Zheng |
Subject: |
[Qemu-devel] [PATCH v5 1/6] mirror: don't close target |
Date: |
Wed, 9 Oct 2013 13:19:38 +0800 |
Let reference count manage target and don't call bdrv_close here.
Signed-off-by: Fam Zheng <address@hidden>
---
block/mirror.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/block/mirror.c b/block/mirror.c
index 7b95acf..01a795a 100644
--- a/block/mirror.c
+++ b/block/mirror.c
@@ -479,7 +479,6 @@ immediate_exit:
}
bdrv_swap(s->target, s->common.bs);
}
- bdrv_close(s->target);
bdrv_unref(s->target);
block_job_completed(&s->common, ret);
}
--
1.8.3.1
- [Qemu-devel] [PATCH v5 0/6] block: allow commit active as top, Fam Zheng, 2013/10/09
- [Qemu-devel] [PATCH v5 1/6] mirror: don't close target,
Fam Zheng <=
- [Qemu-devel] [PATCH v5 2/6] mirror: move base to MirrorBlockJob, Fam Zheng, 2013/10/09
- [Qemu-devel] [PATCH v5 3/6] block: add commit_active_start(), Fam Zheng, 2013/10/09
- [Qemu-devel] [PATCH v5 4/6] commit: support commit active layer, Fam Zheng, 2013/10/09
- [Qemu-devel] [PATCH v5 5/6] qemu-iotests: update test cases for commit active, Fam Zheng, 2013/10/09
- [Qemu-devel] [PATCH v5 6/6] commit: remove unused check, Fam Zheng, 2013/10/09