1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-21 22:04:19 +03:00

activation: don't miss the log on empty {auto_activation|read_only|}_volume_list

Addendum to previous commit...
This commit is contained in:
Peter Rajnoha 2012-12-04 14:10:03 +01:00
parent e2be2652ad
commit 35a4d70aad

View File

@ -341,7 +341,7 @@ static int _lv_passes_volumes_filter(struct cmd_context *cmd, struct logical_vol
for (cv = cn->v; cv; cv = cv->next) {
if (cv->type == DM_CFG_EMPTY_ARRAY)
return 0;
goto out;
if (cv->type != DM_CFG_STRING) {
log_error("Ignoring invalid string in config file %s",
config_path);
@ -397,6 +397,7 @@ static int _lv_passes_volumes_filter(struct cmd_context *cmd, struct logical_vol
return 1;
}
out:
log_verbose("No item supplied in %s configuration setting "
"matches %s/%s", config_path, lv->vg->name, lv->name);