mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
c42f72867a
Before, the cft_check_handle used to direct configuration checking was part of cmd_context. It's better to attach this as part of the exact config tree against which the check is done. This patch moves the cft_check_handle out of cmd_context and it attaches it to the config tree directly as dm_config_tree->custom->config_source->check_handle. This change makes it easier to track the config tree check results and provides less space for bugs as the results are directly attached to the tree and we don't need to be cautious whether the global value is correct or not (and whether it needs reinitialization) as it was in the case when the cft_check_handle was part of cmd_context. |
||
---|---|---|
.. | ||
config_settings.h | ||
config.c | ||
config.h | ||
defaults.h |