]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix error code for storage operations
authorDave Allan <dallan@redhat.com>
Fri, 15 Jul 2011 13:47:12 +0000 (09:47 -0400)
committerEric Blake <eblake@redhat.com>
Fri, 15 Jul 2011 14:35:25 +0000 (08:35 -0600)
commit618b55220ac0cfdbfb4fa4af6adf7631a9962397
tree2ad7324414472d92b26f7ea12280ce1fcc959e4a
parent3807d552c7da49952e81ecd2ba6810c82fbbae74
Fix error code for storage operations

Many volume operations will fail if the volume in question is being
allocated.  These operations were returning VIR_ERR_INTERNAL_ERROR
when they should be returning VIR_ERR_OPERATION_INVALID.
src/storage/storage_driver.c