summaryrefslogtreecommitdiff
path: root/lib/cache_segtype
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2016-03-01 15:21:36 +0100
committerPeter Rajnoha <prajnoha@redhat.com>2016-03-03 13:46:40 +0100
commita61bc70f62a1648632985fa7ac81b89773da6d78 (patch)
tree3fd2ea5ae91accfb10df843d25daf4b63e3195e6 /lib/cache_segtype
parentc45af2df4ee1f3a7cf1e979ce5312acdc392ba68 (diff)
downloadlvm2-a61bc70f62a1648632985fa7ac81b89773da6d78.tar.gz
metadata: add support for interconnection of thin pool LV segment with indirect origin
Add support for making an interconnection between thin LV segment and its indirect origin (which may be historical or live LV) - add a new "indirect_origin" argument to attach_pool_lv function.
Diffstat (limited to 'lib/cache_segtype')
-rw-r--r--lib/cache_segtype/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cache_segtype/cache.c b/lib/cache_segtype/cache.c
index 17d1b312d..a645756a5 100644
--- a/lib/cache_segtype/cache.c
+++ b/lib/cache_segtype/cache.c
@@ -348,7 +348,7 @@ static int _cache_text_import(struct lv_segment *seg,
seg->lv->status |= strstr(seg->lv->name, "_corig") ? LV_PENDING_DELETE : 0;
- if (!attach_pool_lv(seg, pool_lv, NULL, NULL))
+ if (!attach_pool_lv(seg, pool_lv, NULL, NULL, NULL))
return_0;
if (!dm_list_empty(&pool_lv->segments) &&