]> sourceware.org Git - lvm2.git/commitdiff
pvscan: fix hint recreation
authorDavid Teigland <teigland@redhat.com>
Tue, 26 Feb 2019 16:30:11 +0000 (10:30 -0600)
committerDavid Teigland <teigland@redhat.com>
Tue, 26 Feb 2019 16:30:11 +0000 (10:30 -0600)
Restore part of the fix from f0089472e7 that was lost
in the process of backporting 74a388cca1.

tools/pvscan.c

index c6f29023dd3908ec246101f37a7deca0ccdfd78d..389aafafcbcdbaef7d2c4021636b06b4c7012d57 100644 (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;
        }
 
This page took 0.03315 seconds and 5 git commands to generate.