1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/config
Peter Rajnoha 9a324df3b3 config: fix incorrect profile initialization on cmd context refresh
When cmd refresh is called, we need to move any already loaded profiles
to profiles_to_load list which will cause their reload on subsequent
use. In addition to that, we need to take into account any change
in config/profile configuration setting on cmd context refresh
since this setting could be overriden with --config.

Also, when running commands in the shell, we need to remove the
global profile used from the configuration cascade so the profile
is not incorrectly reused next time when the --profile option is
not specified anymore for the next command in the shell.

This bug only affected profile specified by --profile cmd line
arg, not profiles referenced from LVM metadata.
2014-05-19 15:39:55 +02:00
..
config_settings.h cleanup: reduce inclusion of unnecessary headers 2014-04-18 16:38:50 +02:00
config.c config: attach cft_check_handle to each config tree instead of global cmd_context 2014-05-19 15:38:04 +02:00
config.h config: fix incorrect profile initialization on cmd context refresh 2014-05-19 15:39:55 +02:00
defaults.h report: Add metadata_percent to lvs_cols. 2014-05-15 08:32:27 +01:00