summaryrefslogtreecommitdiff
path: root/lib/error/errseg.c
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/error/errseg.c
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/error/errseg.c')
-rw-r--r--lib/error/errseg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/error/errseg.c b/lib/error/errseg.c
index 41e451b9c..a2fbc4d6d 100644
--- a/lib/error/errseg.c
+++ b/lib/error/errseg.c
@@ -45,6 +45,7 @@ static int _errseg_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)))
{