mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Test result of _init_tags.
This commit is contained in:
parent
8df2c89cd4
commit
3af1ebe31e
@ -1,5 +1,6 @@
|
||||
Version 2.02.94 -
|
||||
====================================
|
||||
Check for errors in _init_tags() during config loading.
|
||||
Always check result of _set_vg_name() in lvcreate.
|
||||
Drop unused call to uname() during clvmd initialization.
|
||||
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);
|
||||
|
||||
out:
|
||||
if (*tag)
|
||||
_init_tags(cmd, cfl->cft);
|
||||
else
|
||||
if (*tag) {
|
||||
if (!_init_tags(cmd, cfl->cft))
|
||||
return_0;
|
||||
} else
|
||||
/* Use temporary copy of lvm.conf while loading other files */
|
||||
cmd->cft = cfl->cft;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user