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

[libvirt] [PATCH] Add ocfs2 to list of fs pool types



Ensures mount.ocfs2 is called when

 <format type="ocfs2"/>

is specified in storage pool XML.

Regards,
Jim
commit d68a79d63931d231d73fcfb3ae17285440e10ca6
Author: Jim Fehlig <jfehlig novell com>
Date:   Tue Oct 13 11:07:49 2009 -0600

    Add filesystem type ocfs2

diff --git a/src/conf/storage_conf.c b/src/conf/storage_conf.c
index 1633aac..c975b65 100644
--- a/src/conf/storage_conf.c
+++ b/src/conf/storage_conf.c
@@ -60,7 +60,7 @@ VIR_ENUM_IMPL(virStoragePoolFormatFileSystem,
               VIR_STORAGE_POOL_FS_LAST,
               "auto", "ext2", "ext3",
               "ext4", "ufs", "iso9660", "udf",
-              "gfs", "gfs2", "vfat", "hfs+", "xfs")
+              "gfs", "gfs2", "vfat", "hfs+", "xfs", "ocfs2")
 
 VIR_ENUM_IMPL(virStoragePoolFormatFileSystemNet,
               VIR_STORAGE_POOL_NETFS_LAST,
diff --git a/src/conf/storage_conf.h b/src/conf/storage_conf.h
index 9fedb12..a22ac5e 100644
--- a/src/conf/storage_conf.h
+++ b/src/conf/storage_conf.h
@@ -395,6 +395,7 @@ enum virStoragePoolFormatFileSystem {
     VIR_STORAGE_POOL_FS_VFAT,
     VIR_STORAGE_POOL_FS_HFSPLUS,
     VIR_STORAGE_POOL_FS_XFS,
+    VIR_STORAGE_POOL_FS_OCFS2,
     VIR_STORAGE_POOL_FS_LAST,
 };
 VIR_ENUM_DECL(virStoragePoolFormatFileSystem)

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