]> xenbits.xensource.com Git - libvirt.git/commit
storage: Use virStorageBackendRefreshVolTargetUpdate after wipeVol
authorJohn Ferlan <jferlan@redhat.com>
Thu, 24 Aug 2017 22:19:14 +0000 (18:19 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 30 Aug 2017 19:32:13 +0000 (15:32 -0400)
commitd16f803d780f63b8899df04b624d5acfd6939541
treeae9dfcfc240acf8a10dbbffb149c04288227c51c
parent7c2945b854a3b00c390016f40933027d8d7c80d3
storage: Use virStorageBackendRefreshVolTargetUpdate after wipeVol

https://bugzilla.redhat.com/show_bug.cgi?id=1437797

Rather than using refreshVol which essentially only updates the
allocation, capacity, and permissions for the volume, but not
the format which does get updated in a pool refresh - let's use
the same helper that pool refresh uses in order to update the
volume target.
src/storage/storage_driver.c