[libvirt] [PATCH 1/6] storage: backend: Fix formatting of function arguments

Peter Krempa pkrempa at redhat.com
Tue Jul 15 13:25:14 UTC 2014


---
 src/storage/storage_backend.c    | 12 ++++++------
 src/storage/storage_backend_fs.c |  6 +++---
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/storage/storage_backend.c b/src/storage/storage_backend.c
index 7b17ca4..a36996f 100644
--- a/src/storage/storage_backend.c
+++ b/src/storage/storage_backend.c
@@ -1455,16 +1455,16 @@ virStorageBackendUpdateVolInfo(virStorageVolDefPtr vol,
     int ret;

     if ((ret = virStorageBackendUpdateVolTargetInfo(&vol->target,
-                                    updateCapacity,
-                                    withBlockVolFormat,
-                                    openflags)) < 0)
+                                                    updateCapacity,
+                                                    withBlockVolFormat,
+                                                    openflags)) < 0)
         return ret;

     if (vol->backingStore.path &&
         (ret = virStorageBackendUpdateVolTargetInfo(&vol->backingStore,
-                                            updateCapacity,
-                                            withBlockVolFormat,
-                                            VIR_STORAGE_VOL_OPEN_DEFAULT)) < 0)
+                                                    updateCapacity,
+                                                    withBlockVolFormat,
+                                                    VIR_STORAGE_VOL_OPEN_DEFAULT)) < 0)
         return ret;

     return 0;
diff --git a/src/storage/storage_backend_fs.c b/src/storage/storage_backend_fs.c
index 1615c12..5e65f53 100644
--- a/src/storage/storage_backend_fs.c
+++ b/src/storage/storage_backend_fs.c
@@ -893,9 +893,9 @@ virStorageBackendFileSystemRefresh(virConnectPtr conn ATTRIBUTE_UNUSED,
             vol->backingStore.path = backingStore;
             vol->backingStore.format = backingStoreFormat;

-            ignore_value(virStorageBackendUpdateVolTargetInfo(
-                                               &vol->backingStore, true, false,
-                                               VIR_STORAGE_VOL_OPEN_DEFAULT));
+            ignore_value(virStorageBackendUpdateVolTargetInfo(&vol->backingStore,
+                                                              true, false,
+                                                              VIR_STORAGE_VOL_OPEN_DEFAULT));
             /* If this failed, the backing file is currently unavailable,
              * the capacity, allocation, owner, group and mode are unknown.
              * An error message was raised, but we just continue. */
-- 
2.0.0




More information about the libvir-list mailing list