1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/format_text
Dave Wysochanski 4fa2c7f8b6 Remove archive_enable() calls after create_toolcontext() calls.
_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.
2008-12-11 03:32:56 +00:00
..
archive.c Make _init_rand() thread safe - use rand_r() instead of rand(). 2008-12-07 04:27:56 +00:00
archiver.c Remove archive_enable() calls after create_toolcontext() calls. 2008-12-11 03:32:56 +00:00
archiver.h Remove archive_enable() calls after create_toolcontext() calls. 2008-12-11 03:32:56 +00:00
export.c Added displayable_lvs_in_vg and lv_is_displayable functions to deal with 2008-12-04 15:54:26 +00:00
flags.c Improve the way VGs with PVs missing are handled so manual intervention 2008-09-19 06:42:00 +00:00
format-text.c Make _init_rand() thread safe - use rand_r() instead of rand(). 2008-12-07 04:27:56 +00:00
format-text.h Right, a simple build (without options) is working again. 2008-11-03 22:14:30 +00:00
import_vsn1.c Right, a simple build (without options) is working again. 2008-11-03 22:14:30 +00:00
import-export.h Right, a simple build (without options) is working again. 2008-11-03 22:14:30 +00:00
import.c Cache VG metadata internally while VG lock is held. 2008-04-01 22:40:13 +00:00
layout.h Right, a simple build (without options) is working again. 2008-11-03 22:14:30 +00:00
tags.c Right, a simple build (without options) is working again. 2008-11-03 22:14:30 +00:00
text_export.h Use return_0 in a couple more places. 2008-03-10 18:51:27 +00:00
text_import.h Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 2007-08-20 20:55:30 +00:00
text_label.c Right, a simple build (without options) is working again. 2008-11-03 22:14:30 +00:00