summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2015-04-23 10:19:00 -0500
committerDavid Teigland <teigland@redhat.com>2015-04-23 10:19:00 -0500
commita8bdfbe959a641da21d3baf27046deb8d2eaddb2 (patch)
treed00098ccf3149661eee4e705fce7ffac9864a02a
parent3fc9615d156892efd8bb28b0306c2fe9c14738ff (diff)
downloadlvm2-a8bdfbe959a641da21d3baf27046deb8d2eaddb2.tar.gz
config: thin_disabled_features default should be undefined
An array that's empty by default should be flagged as undefined.
-rw-r--r--lib/config/config_settings.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/config/config_settings.h b/lib/config/config_settings.h
index 1a0ebf70d..6db9cda68 100644
--- a/lib/config/config_settings.h
+++ b/lib/config/config_settings.h
@@ -823,7 +823,7 @@ cfg_array(global_thin_check_options_CFG, "thin_check_options", global_CFG_SECTIO
cfg_array(global_thin_repair_options_CFG, "thin_repair_options", global_CFG_SECTION, CFG_DEFAULT_UNDEFINED, CFG_TYPE_STRING, "#S" DEFAULT_THIN_REPAIR_OPTIONS, vsn(2, 2, 100), NULL,
"String of options passed to the thin_repair command.\n")
-cfg_array(global_thin_disabled_features_CFG, "thin_disabled_features", global_CFG_SECTION, CFG_ALLOW_EMPTY, CFG_TYPE_STRING, NULL, vsn(2, 2, 99), NULL,
+cfg_array(global_thin_disabled_features_CFG, "thin_disabled_features", global_CFG_SECTION, CFG_DEFAULT_UNDEFINED | CFG_ALLOW_EMPTY, CFG_TYPE_STRING, NULL, vsn(2, 2, 99), NULL,
"Features to not use in the thin driver.\n"
"This can be helpful for testing, or to avoid\n"
"using a feature that is causing problems.\n"