]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage: fix volDelete return when volume still being allocated
authorMatthew Booth <mbooth@redhat.com>
Thu, 23 Jun 2011 03:28:29 +0000 (11:28 +0800)
committerDaniel Veillard <veillard@redhat.com>
Thu, 23 Jun 2011 03:28:29 +0000 (11:28 +0800)
commit10208cc50392572c65a737a43f590c9d8467d40f
tree75472604b8d7acb1d7a86d11f08ef5a43ea2cce3
parent60bfd5b5653b85c9c7950927c3265025630e8300
storage: fix volDelete return when volume still being allocated

volDelete used to return VIR_ERR_INTERNAL_ERROR when attempting to
delete a volume which was still being allocated. It should return
VIR_ERR_OPERATION_INVALID.

* src/storage/storage_driver.c: Fix return of volDelete.
src/storage/storage_driver.c