diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2014-02-19 11:02:16 +0100 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2014-02-19 11:33:39 +0100 |
commit | c71a3bcbc07c277b277201425567f7e0864f3819 (patch) | |
tree | dd259769a4b80add6da538bc2644c97f1c36e6ce /tools/vgchange.c | |
parent | 750a310a40c09cd222d52299f2d682082d6a133c (diff) | |
download | lvm2-c71a3bcbc07c277b277201425567f7e0864f3819.tar.gz |
activation: lv_activation_skip remove always same arg.
Remove 'skip' argument passed into the function.
We always used '0' - as this is the only supported
option (-K) and there is no complementary option.
Also add some testing for behaviour of skipping.
Diffstat (limited to 'tools/vgchange.c')
-rw-r--r-- | tools/vgchange.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/vgchange.c b/tools/vgchange.c index cb2d84bc4..e7b5e59d6 100644 --- a/tools/vgchange.c +++ b/tools/vgchange.c @@ -120,7 +120,7 @@ static int _activate_lvs_in_vg(struct cmd_context *cmd, struct volume_group *vg, if ((lv->status & PVMOVE) && !is_change_activating(activate)) continue; - if (lv_activation_skip(lv, activate, arg_count(cmd, ignoreactivationskip_ARG), 0)) + if (lv_activation_skip(lv, activate, arg_count(cmd, ignoreactivationskip_ARG))) continue; if ((activate == CHANGE_AAY) && |