diff options
author | Peter Rajnoha <prajnoha@redhat.com> | 2016-03-01 15:26:57 +0100 |
---|---|---|
committer | Peter Rajnoha <prajnoha@redhat.com> | 2016-03-03 13:50:57 +0100 |
commit | f833a6d074979813e8bd9980b719b09758bd833a (patch) | |
tree | a4d6b3e1f0bef0141dbeff708935c04b4333a0d6 /lib/format_text | |
parent | ccebf3100deec6196c1a66301a36cad6892ff0aa (diff) | |
download | lvm2-f833a6d074979813e8bd9980b719b09758bd833a.tar.gz |
metadata: add historical_glv_remove
Diffstat (limited to 'lib/format_text')
-rw-r--r-- | lib/format_text/import_vsn1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/format_text/import_vsn1.c b/lib/format_text/import_vsn1.c index 163ea38e5..3bf5f7b77 100644 --- a/lib/format_text/import_vsn1.c +++ b/lib/format_text/import_vsn1.c @@ -788,7 +788,7 @@ static int _read_historical_lvnames_interconnections(struct format_instance *fid historical_lv_name = hlvn->key; hlvn = hlvn->child; - if (!(glv = find_historical_glv(vg, historical_lv_name, NULL))) { + if (!(glv = find_historical_glv(vg, historical_lv_name, 0, NULL))) { log_error("Unknown historical logical volume %s/%s%s", vg->name, HISTORICAL_LV_PREFIX, historical_lv_name); goto bad; @@ -828,7 +828,7 @@ static int _read_historical_lvnames_interconnections(struct format_instance *fid glvl->glv = glv; if (!strncmp(origin_name, HISTORICAL_LV_PREFIX, strlen(HISTORICAL_LV_PREFIX))) { - if (!(origin_glv = find_historical_glv(vg, origin_name + strlen(HISTORICAL_LV_PREFIX), NULL))) { + if (!(origin_glv = find_historical_glv(vg, origin_name + strlen(HISTORICAL_LV_PREFIX), 0, NULL))) { log_error("Unknown origin %s for historical logical volume %s/%s%s", origin_name, vg->name, HISTORICAL_LV_PREFIX, historical_lv_name); goto bad; |