1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-27 10:25:13 +03:00

config: remove typo in handling devices/write_cache_state config

...which caused the cmd->dump_filter to be always set irrespective
of the actual devices/write_cache_state setting.
This commit is contained in:
Peter Rajnoha 2013-04-11 16:32:10 +02:00
parent 91c9771fc3
commit e7ccad2ef0

View File

@ -932,7 +932,7 @@ static int _init_filters(struct cmd_context *cmd, unsigned load_persistent_cache
}
/* Should we ever dump persistent filter state? */
if (find_config_tree_bool(cmd, devices_write_cache_state_CFG));
if (find_config_tree_bool(cmd, devices_write_cache_state_CFG))
cmd->dump_filter = 1;
if (!*cmd->system_dir)