]> sourceware.org Git - lvm2.git/commitdiff
config: thin_disabled_features default should be undefined
authorDavid Teigland <teigland@redhat.com>
Thu, 23 Apr 2015 15:19:00 +0000 (10:19 -0500)
committerDavid Teigland <teigland@redhat.com>
Thu, 23 Apr 2015 15:19:00 +0000 (10:19 -0500)
An array that's empty by default should be flagged as
undefined.

lib/config/config_settings.h

index 1a0ebf70d3ac1c05d56ae169d4ede6733be6aced..6db9cda682bf1e070b6a0f9fad07efc0b5798c44 100644 (file)
@@ -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"
This page took 0.03785 seconds and 5 git commands to generate.