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

pvscan: fix hint recreation

Restore part of the fix from f0089472e7 that was lost
in the process of backporting 74a388cca1.
This commit is contained in:
David Teigland 2019-02-26 10:30:11 -06:00
parent 9aea6ae956
commit 74460f70ef

View File

@ -891,6 +891,9 @@ int pvscan_cache_cmd(struct cmd_context *cmd, int argc, char **argv)
_online_files_remove(_vgs_online_dir);
_online_pvscan_all_devs(cmd, complete_vgnames, NULL);
_unlock_online();
cmd->pvscan_recreate_hints = 0;
cmd->use_hints = 0;
goto activate;
}