diff --git a/lib/activate/activate.c b/lib/activate/activate.c index b1f739136..ce9d67c39 100644 --- a/lib/activate/activate.c +++ b/lib/activate/activate.c @@ -2476,19 +2476,19 @@ out: /* Test if LV passes filter */ int lv_activation_filter(struct cmd_context *cmd, const char *lvid_s, - int *activate_lv, const struct logical_volume *lv) + int *activate, const struct logical_volume *lv) { if (!activation()) { - *activate_lv = 1; + *activate = 1; return 1; } if (!_passes_activation_filter(cmd, lv)) { log_verbose("Not activating %s since it does not pass " "activation filter.", display_lvname(lv)); - *activate_lv = 0; + *activate = 0; } else - *activate_lv = 1; + *activate = 1; return 1; } diff --git a/lib/activate/activate.h b/lib/activate/activate.h index 8f9c91898..aa5410c39 100644 --- a/lib/activate/activate.h +++ b/lib/activate/activate.h @@ -162,10 +162,10 @@ int lv_info_with_seg_status(struct cmd_context *cmd, int lv_check_not_in_use(const struct logical_volume *lv, int error_if_used); /* - * Returns 1 if activate_lv has been set: 1 = activate; 0 = don't. + * Returns 1 if activate has been set: 1 = activate; 0 = don't. */ int lv_activation_filter(struct cmd_context *cmd, const char *lvid_s, - int *activate_lv, const struct logical_volume *lv); + int *activate, const struct logical_volume *lv); /* * Checks against the auto_activation_volume_list and * returns 1 if the LV should be activated, 0 otherwise.