[libvirt] [PATCH] maint: remove redundant apostrophes from 'its'

Ján Tomko jtomko at redhat.com
Wed Jun 3 12:48:51 UTC 2015


---
 docs/formatnode.html.in             | 2 +-
 src/conf/storage_conf.c             | 2 +-
 src/esx/esx_driver.c                | 2 +-
 src/esx/esx_network_driver.c        | 2 +-
 src/esx/esx_storage_backend_iscsi.c | 2 +-
 src/esx/esx_storage_backend_vmfs.c  | 2 +-
 src/libxl/libxl_domain.c            | 2 +-
 src/network/bridge_driver.c         | 2 +-
 src/parallels/parallels_storage.c   | 2 +-
 src/qemu/qemu_driver.c              | 4 ++--
 src/qemu/qemu_migration.c           | 2 +-
 src/vbox/vbox_common.c              | 2 +-
 12 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/docs/formatnode.html.in b/docs/formatnode.html.in
index ba9a0f8..3ff1bef 100644
--- a/docs/formatnode.html.in
+++ b/docs/formatnode.html.in
@@ -122,7 +122,7 @@
               This optional element contains information on PCI Express part of
               the device. For example, it can contain a child element
               <code>link</code> which addresses the PCI Express device's link.
-              While a device has it's own capabilities
+              While a device has its own capabilities
               (<code>validity='cap'</code>), the actual run time capabilities
               are negotiated on the device initialization
               (<code>validity='sta'</code>). The <code>link</code> element then
diff --git a/src/conf/storage_conf.c b/src/conf/storage_conf.c
index df536d4..4bbed4f 100644
--- a/src/conf/storage_conf.c
+++ b/src/conf/storage_conf.c
@@ -2335,7 +2335,7 @@ matchFCHostToSCSIHost(virConnectPtr conn,
     char *parent_name = NULL;
     unsigned int fc_hostnum;
 
-    /* If we have a parent defined, get it's hostnum, and compare to the
+    /* If we have a parent defined, get its hostnum, and compare to the
      * scsi_hostnum. If they are the same, then we have a match
      */
     if (fc_adapter.data.fchost.parent &&
diff --git a/src/esx/esx_driver.c b/src/esx/esx_driver.c
index bf51213..c304ff3 100644
--- a/src/esx/esx_driver.c
+++ b/src/esx/esx_driver.c
@@ -267,7 +267,7 @@ esxParseVMXFileName(const char *fileName, void *opaque)
  * in the documentation of esxParseVMXFileName.
  *
  * Firstly parse the datastore path. Then use the datastore name to lookup the
- * datastore and it's mount path. Finally concatenate the mount path, directory
+ * datastore and its mount path. Finally concatenate the mount path, directory
  * and file name to an absolute path and return it. Detect the separator type
  * based on the mount path.
  */
diff --git a/src/esx/esx_network_driver.c b/src/esx/esx_network_driver.c
index 6793b80..b19c06a 100644
--- a/src/esx/esx_network_driver.c
+++ b/src/esx/esx_network_driver.c
@@ -38,7 +38,7 @@
 #define VIR_FROM_THIS VIR_FROM_ESX
 
 /*
- * The UUID of a network is the MD5 sum of it's key. Therefore, verify that
+ * The UUID of a network is the MD5 sum of its key. Therefore, verify that
  * UUID and MD5 sum match in size, because we rely on that.
  */
 verify(MD5_DIGEST_SIZE == VIR_UUID_BUFLEN);
diff --git a/src/esx/esx_storage_backend_iscsi.c b/src/esx/esx_storage_backend_iscsi.c
index e4d2692..a9a19cf 100644
--- a/src/esx/esx_storage_backend_iscsi.c
+++ b/src/esx/esx_storage_backend_iscsi.c
@@ -42,7 +42,7 @@
 #define VIR_FROM_THIS VIR_FROM_ESX
 
 /*
- * The UUID of a storage pool is the MD5 sum of it's mount path. Therefore,
+ * The UUID of a storage pool is the MD5 sum of its mount path. Therefore,
  * verify that UUID and MD5 sum match in size, because we rely on that.
  */
 verify(MD5_DIGEST_SIZE == VIR_UUID_BUFLEN);
diff --git a/src/esx/esx_storage_backend_vmfs.c b/src/esx/esx_storage_backend_vmfs.c
index 0dcf419..d03d33a 100644
--- a/src/esx/esx_storage_backend_vmfs.c
+++ b/src/esx/esx_storage_backend_vmfs.c
@@ -48,7 +48,7 @@
 VIR_LOG_INIT("esx.esx_storage_backend_vmfs");
 
 /*
- * The UUID of a storage pool is the MD5 sum of it's mount path. Therefore,
+ * The UUID of a storage pool is the MD5 sum of its mount path. Therefore,
  * verify that UUID and MD5 sum match in size, because we rely on that.
  */
 verify(MD5_DIGEST_SIZE == VIR_UUID_BUFLEN);
diff --git a/src/libxl/libxl_domain.c b/src/libxl/libxl_domain.c
index f339d9c..d925917 100644
--- a/src/libxl/libxl_domain.c
+++ b/src/libxl/libxl_domain.c
@@ -518,7 +518,7 @@ libxlDomainEventHandler(void *data, VIR_LIBXL_EVENT_CONST libxl_event *event)
 
     /*
      * Similar to the xl implementation, ignore SUSPEND.  Any actions needed
-     * after calling libxl_domain_suspend() are handled by it's callers.
+     * after calling libxl_domain_suspend() are handled by its callers.
      */
     if (xl_reason == LIBXL_SHUTDOWN_REASON_SUSPEND)
         goto error;
diff --git a/src/network/bridge_driver.c b/src/network/bridge_driver.c
index 72be51e..3d6721b 100644
--- a/src/network/bridge_driver.c
+++ b/src/network/bridge_driver.c
@@ -1601,7 +1601,7 @@ networkRadvdConfContents(virNetworkObjPtr network, char **configstr)
     return ret;
 }
 
-/* write file and return it's name (which must be freed by caller) */
+/* write file and return its name (which must be freed by caller) */
 static int
 networkRadvdConfWrite(virNetworkDriverStatePtr driver,
                       virNetworkObjPtr network,
diff --git a/src/parallels/parallels_storage.c b/src/parallels/parallels_storage.c
index 3dcc44d..ff3d0fa 100644
--- a/src/parallels/parallels_storage.c
+++ b/src/parallels/parallels_storage.c
@@ -212,7 +212,7 @@ parallelsPoolCreateByPath(virConnectPtr conn, const char *path)
 
 /*
  * Create pool of type VIR_STORAGE_POOL_DIR with
- * path to the VM, if it's not exists.
+ * path to the VM, if it does not exist.
  */
 static virStoragePoolObjPtr
 parallelsPoolAddByDomain(virConnectPtr conn, virDomainObjPtr dom)
diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
index 63001b1..84e0568 100644
--- a/src/qemu/qemu_driver.c
+++ b/src/qemu/qemu_driver.c
@@ -2959,7 +2959,7 @@ qemuOpenFileAs(uid_t fallback_uid, gid_t fallback_gid,
             is_reg = !!S_ISREG(sb.st_mode);
             /* If the path is regular file which exists
              * already and dynamic_ownership is off, we don't
-             * want to change it's ownership, just open it as-is */
+             * want to change its ownership, just open it as-is */
             if (is_reg && !dynamicOwnership) {
                 uid = sb.st_uid;
                 gid = sb.st_gid;
@@ -16396,7 +16396,7 @@ qemuDomainBlockPivot(virQEMUDriverPtr driver,
      * XXX On libvirtd restarts, if we missed the qemu event, we need
      * to double check what state qemu is in.
      * XXX We should be using qemu's rerror flag to make sure the job
-     * remains alive until we know it's final state.
+     * remains alive until we know its final state.
      * XXX If the abort command is synchronous but the qemu event says
      * that pivot failed, we need to reflect that failure into the
      * overall return value.  */
diff --git a/src/qemu/qemu_migration.c b/src/qemu/qemu_migration.c
index f7432e8..70400f3 100644
--- a/src/qemu/qemu_migration.c
+++ b/src/qemu/qemu_migration.c
@@ -125,7 +125,7 @@ struct _qemuMigrationCookieNetData {
     int vporttype; /* enum virNetDevVPortProfile */
 
     /*
-     * Array of pointers to saved data. Each VIF will have it's own
+     * Array of pointers to saved data. Each VIF will have its own
      * data to transfer.
      */
     char *portdata;
diff --git a/src/vbox/vbox_common.c b/src/vbox/vbox_common.c
index ba0b039..813a171 100644
--- a/src/vbox/vbox_common.c
+++ b/src/vbox/vbox_common.c
@@ -4603,7 +4603,7 @@ vboxSnapshotRedefine(virDomainPtr dom,
             readWriteDisk->location = realReadWriteDisksPath[it];
             /*
              * We get the current snapshot's read-only disk uuid in order to add the
-             * read-write disk to the media registry as it's child. The read-only disk
+             * read-write disk to the media registry as its child. The read-only disk
              * is already in the media registry because it is the fake disk's parent.
              */
             parentUuid = virVBoxSnapshotConfHardDiskUuidByLocation(snapshotMachineDesc,
-- 
2.3.6




More information about the libvir-list mailing list