]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage: When delete volume avoid disk backend removal
authorJohn Ferlan <jferlan@redhat.com>
Tue, 9 Jan 2018 13:40:24 +0000 (08:40 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 10 Jan 2018 13:10:23 +0000 (08:10 -0500)
commitec24d2905bcdc6e9fcc48a3f65abcf1945f3169e
treeab9712c834697587295f193748ed7cf9a485a3e4
parentb427cf4831d0ea7aac9dd1a3aa7682478356a483
storage: When delete volume avoid disk backend removal

For a disk backend, the deleteVol code will clear all the
volumes in the pool and perform a pool refresh, thus the
storageVolDeleteInternal should not use access @voldef
after deleteVol succeeds.
src/storage/storage_driver.c