[libvirt] [PATCH 1/2] Added new filesystem glusterfs

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

 



Added new enum for glusterfs, another netfs based filesystem. 

---
 src/storage_conf.c |    2 +-
 src/storage_conf.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/storage_conf.c b/src/storage_conf.c
index 5f724dc..16ed906 100644
--- a/src/storage_conf.c
+++ b/src/storage_conf.c
@@ -68,7 +68,7 @@ VIR_ENUM_IMPL(virStoragePoolFormatFileSystem,
 
 VIR_ENUM_IMPL(virStoragePoolFormatFileSystemNet,
               VIR_STORAGE_POOL_NETFS_LAST,
-              "auto", "nfs")
+              "auto", "nfs", "glusterfs")
 
 VIR_ENUM_IMPL(virStoragePoolFormatDisk,
               VIR_STORAGE_POOL_DISK_LAST,
diff --git a/src/storage_conf.h b/src/storage_conf.h
index 8a4fed2..27dc4a7 100644
--- a/src/storage_conf.h
+++ b/src/storage_conf.h
@@ -151,7 +151,6 @@ struct _virStoragePoolSourceHost {
     int protocol;
 };
 
-
 /*
  * Available extents on the underlying storage
  */
@@ -366,6 +365,7 @@ VIR_ENUM_DECL(virStoragePoolFormatFileSystem)
 enum virStoragePoolFormatFileSystemNet {
     VIR_STORAGE_POOL_NETFS_AUTO = 0,
     VIR_STORAGE_POOL_NETFS_NFS,
+    VIR_STORAGE_POOL_NETFS_GLUSTERFS,
     VIR_STORAGE_POOL_NETFS_LAST,
 };
 VIR_ENUM_DECL(virStoragePoolFormatFileSystemNet)
-- 
1.6.0.6

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