[PATCH 2/5] storage_conf: Fix indentions in storage_conf.c

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

 



Uses the 4 spaces for indention.
---
 src/conf/storage_conf.c | 176 ++++++++++++++++++++++++------------------------
 1 file changed, 88 insertions(+), 88 deletions(-)

diff --git a/src/conf/storage_conf.c b/src/conf/storage_conf.c
index 643c3cc..8fa805b 100644
--- a/src/conf/storage_conf.c
+++ b/src/conf/storage_conf.c
@@ -146,106 +146,106 @@ virStorageVolumeFormatFromString(const char *format)
 }
 
 static virStoragePoolTypeInfo poolTypeInfo[] = {
-    { .poolType = VIR_STORAGE_POOL_LOGICAL,
-      .poolOptions = {
-            .flags = (VIR_STORAGE_POOL_SOURCE_NAME |
-                      VIR_STORAGE_POOL_SOURCE_DEVICE),
-            .defaultFormat = VIR_STORAGE_POOL_LOGICAL_LVM2,
-            .formatFromString = virStoragePoolFormatLogicalTypeFromString,
-            .formatToString = virStoragePoolFormatLogicalTypeToString,
-        },
+    {.poolType = VIR_STORAGE_POOL_LOGICAL,
+     .poolOptions = {
+         .flags = (VIR_STORAGE_POOL_SOURCE_NAME |
+                   VIR_STORAGE_POOL_SOURCE_DEVICE),
+         .defaultFormat = VIR_STORAGE_POOL_LOGICAL_LVM2,
+         .formatFromString = virStoragePoolFormatLogicalTypeFromString,
+         .formatToString = virStoragePoolFormatLogicalTypeToString,
+     },
     },
-    { .poolType = VIR_STORAGE_POOL_DIR,
-      .volOptions = {
-            .defaultFormat = VIR_STORAGE_FILE_RAW,
-            .formatFromString = virStorageVolumeFormatFromString,
-            .formatToString = virStorageFileFormatTypeToString,
-        },
+    {.poolType = VIR_STORAGE_POOL_DIR,
+     .volOptions = {
+         .defaultFormat = VIR_STORAGE_FILE_RAW,
+         .formatFromString = virStorageVolumeFormatFromString,
+         .formatToString = virStorageFileFormatTypeToString,
+     },
     },
-    { .poolType = VIR_STORAGE_POOL_FS,
-      .poolOptions = {
-            .flags = (VIR_STORAGE_POOL_SOURCE_DEVICE),
-            .defaultFormat = VIR_STORAGE_POOL_FS_AUTO,
-            .formatFromString = virStoragePoolFormatFileSystemTypeFromString,
-            .formatToString = virStoragePoolFormatFileSystemTypeToString,
-        },
+    {.poolType = VIR_STORAGE_POOL_FS,
+     .poolOptions = {
+         .flags = (VIR_STORAGE_POOL_SOURCE_DEVICE),
+         .defaultFormat = VIR_STORAGE_POOL_FS_AUTO,
+         .formatFromString = virStoragePoolFormatFileSystemTypeFromString,
+         .formatToString = virStoragePoolFormatFileSystemTypeToString,
+      },
       .volOptions = {
-            .defaultFormat = VIR_STORAGE_FILE_RAW,
-            .formatFromString = virStorageVolumeFormatFromString,
-            .formatToString = virStorageFileFormatTypeToString,
-        },
+         .defaultFormat = VIR_STORAGE_FILE_RAW,
+         .formatFromString = virStorageVolumeFormatFromString,
+         .formatToString = virStorageFileFormatTypeToString,
+      },
     },
-    { .poolType = VIR_STORAGE_POOL_NETFS,
-      .poolOptions = {
-            .flags = (VIR_STORAGE_POOL_SOURCE_HOST |
-                      VIR_STORAGE_POOL_SOURCE_DIR),
-            .defaultFormat = VIR_STORAGE_POOL_NETFS_AUTO,
-            .formatFromString = virStoragePoolFormatFileSystemNetTypeFromString,
-            .formatToString = virStoragePoolFormatFileSystemNetTypeToString,
-        },
+    {.poolType = VIR_STORAGE_POOL_NETFS,
+     .poolOptions = {
+         .flags = (VIR_STORAGE_POOL_SOURCE_HOST |
+                   VIR_STORAGE_POOL_SOURCE_DIR),
+         .defaultFormat = VIR_STORAGE_POOL_NETFS_AUTO,
+         .formatFromString = virStoragePoolFormatFileSystemNetTypeFromString,
+         .formatToString = virStoragePoolFormatFileSystemNetTypeToString,
+      },
       .volOptions = {
-            .defaultFormat = VIR_STORAGE_FILE_RAW,
-            .formatFromString = virStorageVolumeFormatFromString,
-            .formatToString = virStorageFileFormatTypeToString,
-        },
+         .defaultFormat = VIR_STORAGE_FILE_RAW,
+         .formatFromString = virStorageVolumeFormatFromString,
+         .formatToString = virStorageFileFormatTypeToString,
+      },
     },
-    { .poolType = VIR_STORAGE_POOL_ISCSI,
-      .poolOptions = {
-            .flags = (VIR_STORAGE_POOL_SOURCE_HOST |
-                      VIR_STORAGE_POOL_SOURCE_DEVICE |
-                      VIR_STORAGE_POOL_SOURCE_INITIATOR_IQN),
-        },
+    {.poolType = VIR_STORAGE_POOL_ISCSI,
+     .poolOptions = {
+         .flags = (VIR_STORAGE_POOL_SOURCE_HOST |
+                   VIR_STORAGE_POOL_SOURCE_DEVICE |
+                   VIR_STORAGE_POOL_SOURCE_INITIATOR_IQN),
+      },
       .volOptions = {
-            .formatToString = virStoragePoolFormatDiskTypeToString,
-        }
+         .formatToString = virStoragePoolFormatDiskTypeToString,
+      }
     },
-    { .poolType = VIR_STORAGE_POOL_SCSI,
-      .poolOptions = {
-            .flags = (VIR_STORAGE_POOL_SOURCE_ADAPTER),
-        },
-      .volOptions = {
-            .formatToString = virStoragePoolFormatDiskTypeToString,
-        }
+    {.poolType = VIR_STORAGE_POOL_SCSI,
+     .poolOptions = {
+         .flags = (VIR_STORAGE_POOL_SOURCE_ADAPTER),
+     },
+     .volOptions = {
+         .formatToString = virStoragePoolFormatDiskTypeToString,
+     }
     },
-    { .poolType = VIR_STORAGE_POOL_RBD,
-      .poolOptions = {
-             .flags = (VIR_STORAGE_POOL_SOURCE_HOST |
-                       VIR_STORAGE_POOL_SOURCE_NETWORK |
-                       VIR_STORAGE_POOL_SOURCE_NAME),
-        },
-       .volOptions = {
-            .defaultFormat = VIR_STORAGE_FILE_RAW,
-            .formatToString = virStoragePoolFormatDiskTypeToString,
-        }
+    {.poolType = VIR_STORAGE_POOL_RBD,
+     .poolOptions = {
+         .flags = (VIR_STORAGE_POOL_SOURCE_HOST |
+                   VIR_STORAGE_POOL_SOURCE_NETWORK |
+                   VIR_STORAGE_POOL_SOURCE_NAME),
+      },
+      .volOptions = {
+          .defaultFormat = VIR_STORAGE_FILE_RAW,
+          .formatToString = virStoragePoolFormatDiskTypeToString,
+      }
     },
-    { .poolType = VIR_STORAGE_POOL_SHEEPDOG,
-      .poolOptions = {
-             .flags = (VIR_STORAGE_POOL_SOURCE_HOST |
-                       VIR_STORAGE_POOL_SOURCE_NETWORK |
-                       VIR_STORAGE_POOL_SOURCE_NAME),
-        },
-       .volOptions = {
-            .defaultFormat = VIR_STORAGE_FILE_RAW,
-            .formatToString = virStoragePoolFormatDiskTypeToString,
-        }
+    {.poolType = VIR_STORAGE_POOL_SHEEPDOG,
+     .poolOptions = {
+         .flags = (VIR_STORAGE_POOL_SOURCE_HOST |
+                   VIR_STORAGE_POOL_SOURCE_NETWORK |
+                   VIR_STORAGE_POOL_SOURCE_NAME),
+     },
+     .volOptions = {
+         .defaultFormat = VIR_STORAGE_FILE_RAW,
+         .formatToString = virStoragePoolFormatDiskTypeToString,
+     }
     },
-    { .poolType = VIR_STORAGE_POOL_MPATH,
-      .volOptions = {
-            .formatToString = virStoragePoolFormatDiskTypeToString,
-        }
+    {.poolType = VIR_STORAGE_POOL_MPATH,
+     .volOptions = {
+         .formatToString = virStoragePoolFormatDiskTypeToString,
+     }
     },
-    { .poolType = VIR_STORAGE_POOL_DISK,
-      .poolOptions = {
-            .flags = (VIR_STORAGE_POOL_SOURCE_DEVICE),
-            .defaultFormat = VIR_STORAGE_POOL_DISK_UNKNOWN,
-            .formatFromString = virStoragePoolFormatDiskTypeFromString,
-            .formatToString = virStoragePoolFormatDiskTypeToString,
-        },
-      .volOptions = {
-            .defaultFormat = VIR_STORAGE_VOL_DISK_NONE,
-            .formatFromString = virStorageVolFormatDiskTypeFromString,
-            .formatToString = virStorageVolFormatDiskTypeToString,
-        },
+    {.poolType = VIR_STORAGE_POOL_DISK,
+     .poolOptions = {
+         .flags = (VIR_STORAGE_POOL_SOURCE_DEVICE),
+         .defaultFormat = VIR_STORAGE_POOL_DISK_UNKNOWN,
+         .formatFromString = virStoragePoolFormatDiskTypeFromString,
+         .formatToString = virStoragePoolFormatDiskTypeToString,
+     },
+     .volOptions = {
+         .defaultFormat = VIR_STORAGE_VOL_DISK_NONE,
+         .formatFromString = virStorageVolFormatDiskTypeFromString,
+         .formatToString = virStorageVolFormatDiskTypeToString,
+     },
     }
 };
 
-- 
1.8.1.4

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