]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
storage: If driver startup state syncing fails, delete statefile
authorCole Robinson <crobinso@redhat.com>
Mon, 27 Apr 2015 14:43:22 +0000 (10:43 -0400)
committerCole Robinson <crobinso@redhat.com>
Tue, 28 Apr 2015 13:37:58 +0000 (09:37 -0400)
commit65fc82466695045b83a4a90df5550c7fae6bfe25
treec56463d4d83b9d8ec966264232bdc85f5ec3c6b5
parentaf9dc75c1faf23565345d7a653a85a09efee0ac0
storage: If driver startup state syncing fails, delete statefile

If you end up with a state file for a pool that no longer starts up
or refreshes correctly, the state file is never removed and adds
noise to the logs everytime libvirtd is started.

If the initial state syncing fails, delete the statefile.
src/storage/storage_driver.c