From c71a3bcbc07c277b277201425567f7e0864f3819 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Wed, 19 Feb 2014 11:02:16 +0100 Subject: 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. --- tools/vgchange.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/vgchange.c') 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) && -- cgit v1.2.1