summaryrefslogtreecommitdiff
path: root/lib/unknown
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2011-06-17 14:14:19 +0000
committerZdenek Kabelac <zkabelac@redhat.com>2011-06-17 14:14:19 +0000
commit81beded3af44583de48868d0f2c02e9054d94006 (patch)
tree03223be2d08c29144e1cc2717058e50f3af5e665 /lib/unknown
parent2b6ccfa30b420e2003541d721498ab303e996f2d (diff)
downloadlvm2-81beded3af44583de48868d0f2c02e9054d94006.tar.gz
Add lv_activate_opts structure
To avoid modification of 'read-only' volume group structure add a new structure to pass local data around the code for LV activation. As origin_only is one such flag - replace this parameter with new struct lv_activate_opts. More parameters might eventually become part of lv_activate_opts.
Diffstat (limited to 'lib/unknown')
-rw-r--r--lib/unknown/unknown.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/unknown/unknown.c b/lib/unknown/unknown.c
index b2183717a..2fbd11c1d 100644
--- a/lib/unknown/unknown.c
+++ b/lib/unknown/unknown.c
@@ -67,6 +67,7 @@ static int _unknown_add_target_line(struct dev_manager *dm __attribute__((unused
struct cmd_context *cmd __attribute__((unused)),
void **target_state __attribute__((unused)),
struct lv_segment *seg __attribute__((unused)),
+ const struct lv_activate_opts *laopts __attribute__((unused)),
struct dm_tree_node *node, uint64_t len,
uint32_t *pvmove_mirror_count __attribute__((unused)))
{