mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
1545ebf938
Do not use "#S" (blank string) as default value as that ends up with 'key = [ "" ]' to be generated which is not what we want in most cases. Also, fix default values for global/{thin,cache}_{check,repair}_options and avoid assigning blank values. For example, the thin_check_options had this set as default value previously: "#S" DEFAULT_THIN_CHECK_OPTION1 "#S" DEFAULT_THIN_CHECK_OPTION2 If any (or both) of DEFAULT_THIN_CHECK_OPTION* variables was set to "", we ended up with clumsy default value generated like: thin_check_options = [ "-q", "" ] With this patch, we end up with correct: thin_check_options = [ "-q" ] or, if all options are undefined: thin_check_options = [ ] Which is the correct way to express this. |
||
---|---|---|
.. | ||
config_settings.h | ||
config.c | ||
config.h | ||
defaults.h |