]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
util: s/virStorageSourceClearBackingStore/virStorageSourceBackingStoreClear
authorPeter Krempa <pkrempa@redhat.com>
Fri, 20 Jun 2014 08:40:45 +0000 (10:40 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 26 Jun 2014 08:18:39 +0000 (10:18 +0200)
Rename them to comply with the naming policy.

src/libvirt_private.syms
src/qemu/qemu_domain.c
src/qemu/qemu_driver.c
src/util/virstoragefile.c
src/util/virstoragefile.h

index a793b4c93b0dd27eebf523c3d939d8a2782d6c86..b3f73f9cb575aac5d5ae6ab38386124aeb4090a4 100644 (file)
@@ -1904,8 +1904,8 @@ virStorageNetHostTransportTypeFromString;
 virStorageNetHostTransportTypeToString;
 virStorageNetProtocolTypeToString;
 virStorageSourceAuthClear;
+virStorageSourceBackingStoreClear;
 virStorageSourceClear;
-virStorageSourceClearBackingStore;
 virStorageSourceFree;
 virStorageSourceGetActualType;
 virStorageSourceGetSecurityLabelDef;
index a09567cc8d6ebec5e77b3142dba8e87a17872417..9e38d02ea2bdfbbbce317879b060c97c58c72498 100644 (file)
@@ -2447,7 +2447,7 @@ qemuDomainDetermineDiskChain(virQEMUDriverPtr driver,
 
     if (disk->src->backingStore) {
         if (force)
-            virStorageSourceClearBackingStore(disk->src);
+            virStorageSourceBackingStoreClear(disk->src);
         else
             goto cleanup;
     }
index d8cecffeec0d7d24883bbc1e049dc9f610f3dc3d..376d7cbec03821aeae5cf151c522e62231d49178 100644 (file)
@@ -12877,7 +12877,7 @@ qemuDomainSnapshotCreateSingleDiskActive(virQEMUDriverPtr driver,
      * recompute it.  Better would be storing the chain ourselves rather than
      * reprobing, but this requires modifying domain_conf and our XML to fully
      * track the chain across libvirtd restarts.  */
-    virStorageSourceClearBackingStore(disk->src);
+    virStorageSourceBackingStoreClear(disk->src);
 
     if (virStorageFileInit(snap->src) < 0)
         goto cleanup;
index 6a57327660db93540483c4805432db0c1b405dc3..0c50de181fb49617cdc96b4f7157e85a3269a7e2 100644 (file)
@@ -1551,14 +1551,14 @@ virStorageSourceGetActualType(virStorageSourcePtr def)
 
 
 /**
- * virStorageSourceClearBackingStore:
+ * virStorageSourceBackingStoreClear:
  *
  * @src: disk source to clear
  *
  * Clears information about backing store of the current storage file.
  */
 void
-virStorageSourceClearBackingStore(virStorageSourcePtr def)
+virStorageSourceBackingStoreClear(virStorageSourcePtr def)
 {
     if (!def)
         return;
@@ -1599,7 +1599,7 @@ virStorageSourceClear(virStorageSourcePtr def)
     virStorageNetHostDefFree(def->nhosts, def->hosts);
     virStorageSourceAuthClear(def);
 
-    virStorageSourceClearBackingStore(def);
+    virStorageSourceBackingStoreClear(def);
 }
 
 
index f98a76379a8801a921f199a35dec67c3ca7fc746..48c7e02b5ed519cf209f18d37afa3fc89a13b31d 100644 (file)
@@ -321,7 +321,7 @@ void virStorageSourcePoolDefFree(virStorageSourcePoolDefPtr def);
 void virStorageSourceClear(virStorageSourcePtr def);
 int virStorageSourceGetActualType(virStorageSourcePtr def);
 void virStorageSourceFree(virStorageSourcePtr def);
-void virStorageSourceClearBackingStore(virStorageSourcePtr def);
+void virStorageSourceBackingStoreClear(virStorageSourcePtr def);
 virStorageSourcePtr virStorageSourceNewFromBacking(virStorageSourcePtr parent);
 
 typedef int