mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
4fa2c7f8b6
_init_backup() calls archive_init(), which originally set 'enabled' to a hardcoded '1' value. This seems incorrect based on my read of other areas of the code so here we add a 'enabled' paramter to archive_init(). We pass in cmd->default_settings.archive, which is obtained from the config tree. Later in create_toolcontext, cmd->current_settings is set to cmd->default_settings. The archive_enable() call we remove here was using cmd->current_settings to set the 'archive' enable value. The final value of cmd->archive_params->enabled should thus be equivalent to the original code. |
||
---|---|---|
.. | ||
clvm.h | ||
clvmd-cman.c | ||
clvmd-command.c | ||
clvmd-comms.h | ||
clvmd-gulm.c | ||
clvmd-gulm.h | ||
clvmd-openais.c | ||
clvmd.c | ||
clvmd.h | ||
lvm-functions.c | ||
lvm-functions.h | ||
Makefile.in | ||
refresh_clvmd.c | ||
refresh_clvmd.h | ||
tcp-comms.c | ||
tcp-comms.h |