]> xenbits.xensource.com Git - libvirt.git/commitdiff
storage: backend: Fix formatting of function arguments
authorPeter Krempa <pkrempa@redhat.com>
Mon, 14 Jul 2014 11:29:43 +0000 (13:29 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 16 Jul 2014 09:42:51 +0000 (11:42 +0200)
src/storage/storage_backend.c
src/storage/storage_backend_fs.c

index 7b17ca488155d94d0a86c5766cbb3794dbdd4f76..a36996f609d8e87183d0980d28f8833bd0c519eb 100644 (file)
@@ -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;
index bfaa41fd67682ec7c7af5ecd5c06d2e8d6ea9809..76da96a4386e13be2c699b94a4ec8bf40afcefa0 100644 (file)
@@ -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. */