]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage: Modify virStorageBackendDiskMakeDataVol logic
authorJohn Ferlan <jferlan@redhat.com>
Tue, 9 Jan 2018 16:31:01 +0000 (11:31 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 10 Jan 2018 13:10:23 +0000 (08:10 -0500)
commit71d80c9726d5444b37e8e2db878eae273c801848
tree8bb0b80705d9d85781673d4084eef00531cdeb68
parentec24d2905bcdc6e9fcc48a3f65abcf1945f3169e
storage: Modify virStorageBackendDiskMakeDataVol logic

Alter the logic such that we only add the volume to the pool once
we've filled in all the information and cause failure to go to a
common error: label. Patches to place the @vol into a few hash tables
will soon "require" that at least the keys (name, target.path, and key)
be populated with valid data.
src/storage/storage_backend_disk.c