diff options
author | Heinz Mauelshagen <heinzm@redhat.com> | 2016-07-29 19:17:12 +0200 |
---|---|---|
committer | Heinz Mauelshagen <heinzm@redhat.com> | 2016-07-29 19:17:12 +0200 |
commit | 237f84e0383c7e3003050be7c072ee0a092fd426 (patch) | |
tree | c39d8388ef92ce24987657af782a0ee0ee5a6ba6 | |
parent | 6b6e258e0ce1c0ab58fc5a465d2617505bc7c814 (diff) | |
download | lvm2-237f84e0383c7e3003050be7c072ee0a092fd426.tar.gz |
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.
-rw-r--r-- | lib/metadata/raid_manip.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; /* |