Blame SOURCES/libvirt-storage-Break-long-lines-and-clean-up-spaces-in-storage-backend-header.patch

c401cc
From cbd57c07c97d2777b25adce362b817cb3682c8e9 Mon Sep 17 00:00:00 2001
c401cc
Message-Id: <cbd57c07c97d2777b25adce362b817cb3682c8e9@dist-git>
c401cc
From: Peter Krempa <pkrempa@redhat.com>
c401cc
Date: Wed, 26 Feb 2014 14:55:17 +0100
c401cc
Subject: [PATCH] storage: Break long lines and clean up spaces in storage
c401cc
 backend header
c401cc
c401cc
https://bugzilla.redhat.com/show_bug.cgi?id=1032370
c401cc
c401cc
(cherry picked from commit d952619894b1a4b453244cd0d0f5bff7c7b7d9a8)
c401cc
c401cc
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
c401cc
---
c401cc
 src/storage/storage_backend.h | 56 ++++++++++++++++++++++++++++---------------
c401cc
 1 file changed, 37 insertions(+), 19 deletions(-)
c401cc
c401cc
diff --git a/src/storage/storage_backend.h b/src/storage/storage_backend.h
c401cc
index 9e07dd8..378bc4d 100644
c401cc
--- a/src/storage/storage_backend.h
c401cc
+++ b/src/storage/storage_backend.h
c401cc
@@ -1,7 +1,7 @@
c401cc
 /*
c401cc
  * storage_backend.h: internal storage driver backend contract
c401cc
  *
c401cc
- * Copyright (C) 2007-2010, 2012-2013 Red Hat, Inc.
c401cc
+ * Copyright (C) 2007-2010, 2012-2014 Red Hat, Inc.
c401cc
  * Copyright (C) 2007-2008 Daniel P. Berrange
c401cc
  *
c401cc
  * This library is free software; you can redistribute it and/or
c401cc
@@ -30,22 +30,42 @@
c401cc
 # include "storage_conf.h"
c401cc
 # include "vircommand.h"
c401cc
 
c401cc
-typedef char * (*virStorageBackendFindPoolSources)(virConnectPtr conn, const char *srcSpec, unsigned int flags);
c401cc
-typedef int (*virStorageBackendCheckPool)(virConnectPtr conn, virStoragePoolObjPtr pool, bool *active);
c401cc
-typedef int (*virStorageBackendStartPool)(virConnectPtr conn, virStoragePoolObjPtr pool);
c401cc
-typedef int (*virStorageBackendBuildPool)(virConnectPtr conn, virStoragePoolObjPtr pool, unsigned int flags);
c401cc
-typedef int (*virStorageBackendRefreshPool)(virConnectPtr conn, virStoragePoolObjPtr pool);
c401cc
-typedef int (*virStorageBackendStopPool)(virConnectPtr conn, virStoragePoolObjPtr pool);
c401cc
-typedef int (*virStorageBackendDeletePool)(virConnectPtr conn, virStoragePoolObjPtr pool, unsigned int flags);
c401cc
-
c401cc
+typedef char * (*virStorageBackendFindPoolSources)(virConnectPtr conn,
c401cc
+                                                   const char *srcSpec,
c401cc
+                                                   unsigned int flags);
c401cc
+typedef int (*virStorageBackendCheckPool)(virConnectPtr conn,
c401cc
+                                          virStoragePoolObjPtr pool,
c401cc
+                                          bool *active);
c401cc
+typedef int (*virStorageBackendStartPool)(virConnectPtr conn,
c401cc
+                                          virStoragePoolObjPtr pool);
c401cc
+typedef int (*virStorageBackendBuildPool)(virConnectPtr conn,
c401cc
+                                          virStoragePoolObjPtr pool,
c401cc
+                                          unsigned int flags);
c401cc
+typedef int (*virStorageBackendRefreshPool)(virConnectPtr conn,
c401cc
+                                            virStoragePoolObjPtr pool);
c401cc
+typedef int (*virStorageBackendStopPool)(virConnectPtr conn,
c401cc
+                                         virStoragePoolObjPtr pool);
c401cc
+typedef int (*virStorageBackendDeletePool)(virConnectPtr conn,
c401cc
+                                           virStoragePoolObjPtr pool,
c401cc
+                                           unsigned int flags);
c401cc
 typedef int (*virStorageBackendBuildVol)(virConnectPtr conn,
c401cc
-                                         virStoragePoolObjPtr pool, virStorageVolDefPtr vol,
c401cc
+                                         virStoragePoolObjPtr pool,
c401cc
+                                         virStorageVolDefPtr vol,
c401cc
                                          unsigned int flags);
c401cc
-typedef int (*virStorageBackendCreateVol)(virConnectPtr conn, virStoragePoolObjPtr pool, virStorageVolDefPtr vol);
c401cc
-typedef int (*virStorageBackendRefreshVol)(virConnectPtr conn, virStoragePoolObjPtr pool, virStorageVolDefPtr vol);
c401cc
-typedef int (*virStorageBackendDeleteVol)(virConnectPtr conn, virStoragePoolObjPtr pool, virStorageVolDefPtr vol, unsigned int flags);
c401cc
-typedef int (*virStorageBackendBuildVolFrom)(virConnectPtr conn, virStoragePoolObjPtr pool,
c401cc
-                                             virStorageVolDefPtr origvol, virStorageVolDefPtr newvol,
c401cc
+typedef int (*virStorageBackendCreateVol)(virConnectPtr conn,
c401cc
+                                          virStoragePoolObjPtr pool,
c401cc
+                                          virStorageVolDefPtr vol);
c401cc
+typedef int (*virStorageBackendRefreshVol)(virConnectPtr conn,
c401cc
+                                           virStoragePoolObjPtr pool,
c401cc
+                                           virStorageVolDefPtr vol);
c401cc
+typedef int (*virStorageBackendDeleteVol)(virConnectPtr conn,
c401cc
+                                          virStoragePoolObjPtr pool,
c401cc
+                                          virStorageVolDefPtr vol,
c401cc
+                                          unsigned int flags);
c401cc
+typedef int (*virStorageBackendBuildVolFrom)(virConnectPtr conn,
c401cc
+                                             virStoragePoolObjPtr pool,
c401cc
+                                             virStorageVolDefPtr origvol,
c401cc
+                                             virStorageVolDefPtr newvol,
c401cc
                                              unsigned int flags);
c401cc
 typedef int (*virStorageBackendVolumeResize)(virConnectPtr conn,
c401cc
                                              virStoragePoolObjPtr pool,
c401cc
@@ -119,7 +139,6 @@ int virStorageBackendVolOpenCheckMode(const char *path, struct stat *sb,
c401cc
 
c401cc
 int virStorageBackendUpdateVolInfo(virStorageVolDefPtr vol,
c401cc
                                    int withCapacity);
c401cc
-
c401cc
 int virStorageBackendUpdateVolInfoFlags(virStorageVolDefPtr vol,
c401cc
                                         int withCapacity,
c401cc
                                         unsigned int openflags);
c401cc
@@ -132,9 +151,8 @@ int virStorageBackendUpdateVolTargetInfoFD(virStorageVolTargetPtr target,
c401cc
                                            struct stat *sb,
c401cc
                                            unsigned long long *allocation,
c401cc
                                            unsigned long long *capacity);
c401cc
-int
c401cc
-virStorageBackendDetectBlockVolFormatFD(virStorageVolTargetPtr target,
c401cc
-                                        int fd);
c401cc
+int virStorageBackendDetectBlockVolFormatFD(virStorageVolTargetPtr target,
c401cc
+                                            int fd);
c401cc
 
c401cc
 char *virStorageBackendStablePath(virStoragePoolObjPtr pool,
c401cc
                                   const char *devpath,
c401cc
-- 
c401cc
1.9.0
c401cc