mirror of
git://sourceware.org/git/lvm2.git
synced 2025-02-25 21:57:45 +03:00
config: fix timestamp comparison during merge
This commit is contained in:
parent
a0ce432829
commit
1cb66fe16e
@ -1055,7 +1055,7 @@ int merge_config_tree(struct cmd_context *cmd, struct dm_config_tree *cft,
|
||||
* whether the .cache isn't older then any of configs
|
||||
*/
|
||||
cs = dm_config_get_custom(cft);
|
||||
csn = dm_config_get_custom(cft);
|
||||
csn = dm_config_get_custom(newdata);
|
||||
|
||||
if (cs && csn && (cs->timestamp < csn->timestamp))
|
||||
cs->timestamp = csn->timestamp;
|
||||
|
Loading…
x
Reference in New Issue
Block a user