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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]