libvirt/src/storage
Osier Yang d1f3d14974 storage: Error out earlier if the volume target path already exists
https://bugzilla.redhat.com/show_bug.cgi?id=832302

It's odd to fall through to buildVol, and the existed file is
removed when buildVol fails. This checks if the volume target
path already exists in createVol. The reason for not using
error like "Volume already exists" is that there isn't volume
maintained by libvirt for the path until a operation like
pool-refresh, using error like that will just cause confusion.
2012-12-06 01:10:00 +08:00
..
parthelper.c Remove spurious whitespace between function name & open brackets 2012-11-02 13:36:49 +00:00
storage_backend_disk.c Remove spurious whitespace between function name & open brackets 2012-11-02 13:36:49 +00:00
storage_backend_disk.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
storage_backend_fs.c storage: Error out earlier if the volume target path already exists 2012-12-06 01:10:00 +08:00
storage_backend_fs.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
storage_backend_iscsi.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
storage_backend_iscsi.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
storage_backend_logical.c storage: fix logical volume cloning 2012-11-26 14:01:29 +01:00
storage_backend_logical.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
storage_backend_mpath.c Remove spurious whitespace between function name & open brackets 2012-11-02 13:36:49 +00:00
storage_backend_mpath.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
storage_backend_rbd.c conf: prevent crash with no uuid in cephx auth secret 2012-12-03 15:13:32 +01:00
storage_backend_rbd.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
storage_backend_scsi.c storage: Don't do wait loops from VolLookupByPath 2012-10-22 16:15:12 -04:00
storage_backend_scsi.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
storage_backend_sheepdog.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
storage_backend_sheepdog.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
storage_backend.c storage: Remove the redundant white lines 2012-12-05 12:17:18 +08:00
storage_backend.h storage: don't shadow global 'wait' declaration 2012-10-23 13:56:59 +02:00
storage_driver.c Replace polling for active VMs with signalling by drivers 2012-12-04 12:14:04 +00:00
storage_driver.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00