From 237f84e0383c7e3003050be7c072ee0a092fd426 Mon Sep 17 00:00:00 2001 From: Heinz Mauelshagen Date: Fri, 29 Jul 2016 19:17:12 +0200 Subject: [PATCH] thin: when converting a thin pool data or metadata LV from linear to raid1, the linear wasnt't switched to the raid1 mapping, thus creating the false impression of resilience. --- lib/metadata/raid_manip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/metadata/raid_manip.c b/lib/metadata/raid_manip.c index 0364f2fe5..6ac745042 100644 --- a/lib/metadata/raid_manip.c +++ b/lib/metadata/raid_manip.c @@ -862,7 +862,7 @@ to be left for these sub-lvs. dm_list_iterate_items(lvl, &data_lvs) lv_set_hidden(lvl->lv); - if (!lv_update_and_reload_origin(lv)) + if (!lv_update_and_reload(lv)) return_0; /*