File fs-ocfs2.patch of Package libvirt

Index: libvirt-0.7.2/src/conf/storage_conf.c
===================================================================
--- libvirt-0.7.2.orig/src/conf/storage_conf.c
+++ libvirt-0.7.2/src/conf/storage_conf.c
@@ -60,7 +60,7 @@ VIR_ENUM_IMPL(virStoragePoolFormatFileSy
               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,
Index: libvirt-0.7.2/src/conf/storage_conf.h
===================================================================
--- libvirt-0.7.2.orig/src/conf/storage_conf.h
+++ libvirt-0.7.2/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)
openSUSE Build Service is sponsored by