[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v4 3/7] mirror: don't close target
From: |
Fam Zheng |
Subject: |
[Qemu-devel] [PATCH v4 3/7] mirror: don't close target |
Date: |
Mon, 30 Sep 2013 20:02:54 +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 fdc7fa8..af6851f 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 v4 0/7] block: allow commit active as top, Fam Zheng, 2013/09/30
- [Qemu-devel] [PATCH v4 1/7] block: add bdrv_common_ancestor(), Fam Zheng, 2013/09/30
- [Qemu-devel] [PATCH v4 2/7] qmp: add internal sync mode "common" to mirror_start, Fam Zheng, 2013/09/30
- [Qemu-devel] [PATCH v4 3/7] mirror: don't close target,
Fam Zheng <=
- [Qemu-devel] [PATCH v4 4/7] mirror: Add commit_job_type to perform commit with mirror code, Fam Zheng, 2013/09/30
- [Qemu-devel] [PATCH v4 5/7] commit: support commit active layer, Fam Zheng, 2013/09/30
- [Qemu-devel] [PATCH v4 6/7] commit: remove unused check, Fam Zheng, 2013/09/30
- [Qemu-devel] [PATCH v4 7/7] qemu-iotests: update test cases for commit active, Fam Zheng, 2013/09/30