1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/config
Peter Rajnoha c42f72867a config: attach cft_check_handle to each config tree instead of global cmd_context
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.
2014-05-19 15:38:04 +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: attach cft_check_handle to each config tree instead of global cmd_context 2014-05-19 15:38:04 +02:00
defaults.h report: Add metadata_percent to lvs_cols. 2014-05-15 08:32:27 +01:00