]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage: Set correct vol->type at VolCreate
authorJohn Ferlan <jferlan@redhat.com>
Mon, 29 Jun 2015 18:18:49 +0000 (14:18 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 30 Jun 2015 10:49:49 +0000 (06:49 -0400)
commite66a4c0b53a7a4a8afcb0d7d10b0569b84aac91c
treeb08c9ddd95130114625765bd47c6c978e1a82b2b
parentbb66d93c11915e3ed2e0249ecc2948a474e2c3a1
storage: Set correct vol->type at VolCreate

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

If the requested format type for the new entry in the file system pool
is a 'dir', then be sure to set the vol->type correctly as would be done
when the pool is refreshed.
src/storage/storage_backend_fs.c