mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
Test result of _init_tags.
This commit is contained in:
parent
8df2c89cd4
commit
3af1ebe31e
@ -1,5 +1,6 @@
|
|||||||
Version 2.02.94 -
|
Version 2.02.94 -
|
||||||
====================================
|
====================================
|
||||||
|
Check for errors in _init_tags() during config loading.
|
||||||
Always check result of _set_vg_name() in lvcreate.
|
Always check result of _set_vg_name() in lvcreate.
|
||||||
Drop unused call to uname() during clvmd initialization.
|
Drop unused call to uname() during clvmd initialization.
|
||||||
Test allocation result in sysfs filter creation.
|
Test allocation result in sysfs filter creation.
|
||||||
|
@ -532,9 +532,10 @@ static int _load_config_file(struct cmd_context *cmd, const char *tag)
|
|||||||
dm_list_add(&cmd->config_files, &cfl->list);
|
dm_list_add(&cmd->config_files, &cfl->list);
|
||||||
|
|
||||||
out:
|
out:
|
||||||
if (*tag)
|
if (*tag) {
|
||||||
_init_tags(cmd, cfl->cft);
|
if (!_init_tags(cmd, cfl->cft))
|
||||||
else
|
return_0;
|
||||||
|
} else
|
||||||
/* Use temporary copy of lvm.conf while loading other files */
|
/* Use temporary copy of lvm.conf while loading other files */
|
||||||
cmd->cft = cfl->cft;
|
cmd->cft = cfl->cft;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user